Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/brh55/gettext-translate

Just a quick way to translate gettext formatted files into different languages using Google Translate
https://github.com/brh55/gettext-translate

gettext i18n localization

Last synced: 24 days ago
JSON representation

Just a quick way to translate gettext formatted files into different languages using Google Translate

Awesome Lists containing this project

README

        

# gettext translate
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.

## Usage

1. `npm install`
2. Paste your original file contents into `origin.po` or specify your file path in the `config.js` file `(config.originFilePath)`
3. Set the languages in `config.languages`
4. `npm start` or `npm run translate`

Your contents will be translated in the `/translations` directory 🥂.

# License
MIT