Skip to content

wpmetcom/automated-translation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

automated-translation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages