wpmet/automated-translation
最新稳定版本:1.0.1
Composer 安装命令:
composer require wpmet/automated-translation
包简介
It uses Google Translator API to translate WP pot files via "om/potrans" in batch.
README 文档
README
It uses Google Translator API to translate WP pot files via "om/potrans" in batch.
Script installation
-
Create a directory and put Google Translate's credentials.json there. Then open CLI from that directory.
-
User composer to install the package as follows:
composer require wpmet/automated-translation
Running the translations
- Use this command to run the script from CLI, specify multiple language codes at the end of the command.
vendor/bin/fire translate ko ar
- Fill up the guided form and it will generate all po,mo file in the plugin's language directory.
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-10-18