1.0.3 • Published 8 years ago
i18n-deepl-translator v1.0.3
Translate easily using deepL
Translating text as never been so easy.
npm install i18n-deepl-translator
git clone https://github.com/rolljee/i18n-file-translatorUsage
# as simple as that
npm install
node index.js -i "path/to/myfile.json" -o 'path/to/destfile.json' -l 'EN'-iJSON input file-oJSON output file-lDestination lang
DeepL should detect the input lang by himself :-)
Troubleshooting
You may reach the api rate limit if your are translating large file, when you see the code 429 you should wait a bit before tranlating again (you api may be blacklisted).
Contribution
Contributions are welcome, fork the project play with it and make a pull request