Sha256: c7c1a9e3c6c3178e2aac8891a530a7087d5de96f2d7dba794a6a59263a3fccb1

Contents?: true

Size: 1.25 KB

Versions: 13

Compression:

Stored size: 1.25 KB

Contents

index > \{!i18n}

= NAME
i18n    - Internationalization in Juli

= DESCRIPTION

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/).

== Specify locale

Default locale is 'en'.  You can change it at JULI_REPO/.juli/config
'locale' entry.

== How to customize current locale catalog

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/}.

== How to add New 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):

1. specify it at JULI_REPO/.juli/config:
    locale: it
1. copy default english locale under .juli/ as it.yml:
    $ cp RUBY_LIB/juli/template/locale/en.yml $JULI_REPO/.juli/it.yml
1. modify the it.yml to follow Italian.
1. clean output_html and re-run juli.

= FILES

\{!RUBY_LIB/juli/template/locale/*.yml}:: Default Locale files.
JULI_REPO/.juli/*.yml::               Your customized locale files.

<hr>
index &gt; \{!i18n}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
juli-2.3.2 doc/i18n.txt
juli-2.3.1 doc/i18n.txt
juli-2.3.0 doc/i18n.txt
juli-2.2.4 doc/i18n.txt
juli-2.2.3 doc/i18n.txt
juli-2.2.1 doc/i18n.txt
juli-2.2.0 doc/i18n.txt
juli-2.1.0 doc/i18n.txt
juli-2.0.4 doc/i18n.txt
juli-2.0.3 doc/i18n.txt
juli-2.0.2 doc/i18n.txt
juli-2.0.1 doc/i18n.txt
juli-2.0.0 doc/i18n.txt