Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/brh55/gettext-translate
- Owner: brh55
- Created: 2020-04-27T22:15:21.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T14:53:49.000Z (almost 2 years ago)
- Last Synced: 2024-11-30T03:42:43.050Z (3 months ago)
- Topics: gettext, i18n, localization
- Language: JavaScript
- Size: 11.7 KB
- Stars: 2
- Watchers: 1
- 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