Autolang
- Kick-start your translation!
- Translate all your Gettext - msgids / json to another language using google-translate.
Usage
gem install autolang
autolang API_KEY /path/to/app.pot <language-code>
autolang API_KEY /path/to/app.pot es
autolang API_KEY /path/to/app.json es
language-code are 2 letter ISO 639 codes
if you have no .pot file, use gettext and updatepo first (google helps...)
Translation examples
-
Car|Engine
->Motor
-
hello %{name}
->hallo %{name}
TODO
- Do not convert "& to "and", use something 'smarter'.
Authors
Original by Chris Blackburn released under MIT license
Enhanced by