This project can be used to translate strings in a JSON object using Google Translate.
See test-en.json for a sample input file and test-de.json for a sample output file.
- Node.js
- Python 3
- Google Cloud Command Line tools
npm ci Source of translation is always taken from the en.json file.
npm run translate deThe result of translations will be saved in de.json.
Where de is the destination language code (german in this case).