wpmet / automated-translation
It uses Google Translator API to translate WP pot files via "om/potrans" in batch.
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/wpmet/automated-translation
Requires
- om/potrans: ^0.0.6
- symfony/console: ^6.3
- symfony/filesystem: ^6.3
- symfony/finder: ^6.3
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.