A simple package to quickly translate gettext
formatted files using Google translate. This is quite useful for Fitbit developers who need to support multiple languages, but do this manually today.
npm install
- Paste your original file contents into
origin.po
or specify your file path in theconfig.js
file(config.originFilePath)
- Set the languages in
config.languages
npm start
ornpm run translate
Your contents will be translated in the /translations
directory 🥂.
MIT