annotate config/locales/en.yml @ 12:498ec84a7790

No need to add cookie handler.
author edogawaconan <me@myconan.net>
date Fri, 05 Sep 2014 18:50:34 +0900
parents a1c9fadc0904
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
1 # Files in the config/locales directory are used for internationalization
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
2 # and are automatically loaded by Rails. If you want to use locales other
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
3 # than English, add the necessary files in this directory.
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
4 #
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
5 # To use the locales, use `I18n.t`:
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
6 #
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
7 # I18n.t 'hello'
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
8 #
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
9 # In views, this is aliased to just `t`:
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
10 #
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
11 # <%= t('hello') %>
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
12 #
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
13 # To use a different locale, set it with `I18n.locale`:
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
14 #
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
15 # I18n.locale = :es
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
16 #
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
17 # This would use the information in config/locales/es.yml.
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
18 #
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
19 # To learn more, please read the Rails Internationalization guide
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
20 # available at http://guides.rubyonrails.org/i18n.html.
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
21
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
22 en:
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
23 hello: "Hello world"