Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 950 Bytes

Readme.md

File metadata and controls

39 lines (28 loc) · 950 Bytes

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

Build Status