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: about 2 months ago
JSON representation
Just a quick way to translate gettext formatted files into different languages using Google Translate
- Host: GitHub
- URL: https://github.com/brh55/gettext-translate
- Owner: brh55
- Created: 2020-04-27T22:15:21.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T14:53:49.000Z (over 3 years ago)
- Last Synced: 2025-03-23T08:30:43.543Z (over 1 year ago)
- Topics: gettext, i18n, localization
- Language: JavaScript
- Size: 11.7 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
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