-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide facility for machine translation of resources.json in a separate project #147
Comments
BTW, it'd be good to have the language selection popup on the top drawer too |
@MrCsabaToth, looks interesting! How can we integrate this into Hoverboard? |
The best would be to make it part of the build process. Since if you add a term only into the en resource (but not the other ones) the page/site stops functioning. I didn't look at yet how I could make this part of polymer's pre-build process. Right now it's a node app, and the calls are simple translate calls (no API key needed). In my app I had Spanish, Hmong and Armenian translations. |
Thinking more: this machine translation probably should not overwrite non machine translations, so probably we need to protect those entries in the resource file somehow. So we need to think more about that. |
Seems like time to use custom build for Polymer CLI |
Since |
@MrCsabaToth can you make script translate only string values? |
Here is a simple node.js app, it uses Google Translate:
https://github.com/gdgfresno/translateResources/
I generated Spanish, Hmong and Armenian translations for ValleyDevFest 2016 to support our largest local ethnic groups.
The text was updated successfully, but these errors were encountered: