0
|
1 # Files in the config/locales directory are used for internationalization
|
|
2 # and are automatically loaded by Rails. If you want to use locales other
|
|
3 # than English, add the necessary files in this directory.
|
|
4 #
|
|
5 # To use the locales, use `I18n.t`:
|
|
6 #
|
|
7 # I18n.t 'hello'
|
|
8 #
|
|
9 # In views, this is aliased to just `t`:
|
|
10 #
|
|
11 # <%= t('hello') %>
|
|
12 #
|
|
13 # To use a different locale, set it with `I18n.locale`:
|
|
14 #
|
|
15 # I18n.locale = :es
|
|
16 #
|
|
17 # This would use the information in config/locales/es.yml.
|
|
18 #
|
|
19 # To learn more, please read the Rails Internationalization guide
|
|
20 # available at http://guides.rubyonrails.org/i18n.html.
|
|
21
|
|
22 en:
|
|
23 hello: "Hello world"
|