diff options
Diffstat (limited to 'config/locales')
-rw-r--r-- | config/locales/en.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml new file mode 100644 index 0000000..decc5a8 --- /dev/null +++ b/config/locales/en.yml | |||
@@ -0,0 +1,33 @@ | |||
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 | # The following keys must be escaped otherwise they will not be retrieved by | ||
20 | # the default I18n backend: | ||
21 | # | ||
22 | # true, false, on, off, yes, no | ||
23 | # | ||
24 | # Instead, surround them with single quotes. | ||
25 | # | ||
26 | # en: | ||
27 | # 'true': 'foo' | ||
28 | # | ||
29 | # To learn more, please read the Rails Internationalization guide | ||
30 | # available at http://guides.rubyonrails.org/i18n.html. | ||
31 | |||
32 | en: | ||
33 | hello: "Hello world" | ||