A tool to automate machine translation from Loco projects.
This tool aims to automate the flow of machine translation of new terms on the Loco TMS (https://localise.biz/). Automated translation of terms/assets/resources/messages is often required in order to avoid slow down deliveries due to untranslated terms, this tool was developed to do this work, helping the customers to have a better experience using your software while the new terms are waiting to be translated by a human translator.
//TODO
$ git clone git@github.com:involvestecnologia/lyrics.git
$ cd lyrics
$ yarn install
Follow this link so you can setup google translate into your enviroment: https://cloud.google.com/translate/docs/
Google Cloud Translate API needs some steps to work:
- Google cloud project
- Enable billing to your project (you will need an billing account and a credit card. Also, they won't charge you when your free use is done)
- Enable Google Cloud Translate API into your project
- Get credentials from the api
All this can be found here:
https://cloud.google.com/translate/docs/getting-started https://cloud.google.com/translate/docs/reference/libraries https://cloud.google.com/translate/docs/quickstart-client-libraries
- nodemon
$ yarn start
- debug
$ node --inspect=${DEBUG_PORT} ./bin/www
- docker
$ docker-compose up .
- pm2
$ npm install pm2 -g $ pm2 start ./bin/www