A ripl plugin that translates ripl to your preferred language.
Add to your ~/.riplrc:
If a locale exists for your language and is set via your shell variable $LANG, this plugin automatically uses it. Otherwise, explicitly set your language with:
# :es maps to es.yml Ripl.config[:i18n_locale] = :es
If you want to load and use your own locale:
Ripl::I18n.load 'path/to/my_lang.yml' Ripl.config[:i18n_locale] = :my_lang
Contribute Your Language
As I would like to make ripl available in as many languages as possible, please do add your own! Here's all you have to do:
Fork this project.
Create a .yml file under lib/ripl/i18n/locales/ for your language. If you're not sure what locale to use for your language, see some examples.
Be sure to translate all the keys in lib/ripl/i18n/locales/en.yml.
janlelis for auto locale + de.yml