Skip to content

grosser/autolang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Automatic translation to a new language for Gettext/JSON using Google translate

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages