|
index > i18n
i18n - Internationalization in Juli
Some Juli words are internationalized.
For the detail which word is internationalized, please look at RUBY_LIB/juli/template/locale/*.yml. Where, RUBY_LIB is the directory which juli library is installed (e.g. /usr/local/lib/ruby/site_ruby/1.9/).
Default locale is 'en'. You can change it at JULI_REPO/.juli/config 'locale' entry.
If you don't like current default locale words, you can customize those by putting your customized locale file under JULI_REPO/.juli/ without any modification at RUBY_LIB/juli/template/locale/.
Currently only 'en' and 'ja' are supported, but, of course, you can add your favorite locale file as follows (Let's assume 'it' (Italian) here):
locale: it
$ cp RUBY_LIB/juli/template/locale/en.yml $JULI_REPO/.juli/it.yml
RUBY_LIB/juli/template/locale/*.yml: | Default Locale files. |
JULI_REPO/.juli/*.yml: | Your customized locale files. |