diff options
Diffstat (limited to 'config/locales')
-rw-r--r-- | config/locales/en.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml new file mode 100644 index 0000000..6c349ae --- /dev/null +++ b/config/locales/en.yml | |||
@@ -0,0 +1,31 @@ | |||
1 | # Files in the config/locales directory are used for internationalization and | ||
2 | # are automatically loaded by Rails. If you want to use locales other than | ||
3 | # 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 about the API, please read the Rails Internationalization guide | ||
20 | # at https://guides.rubyonrails.org/i18n.html. | ||
21 | # | ||
22 | # Be aware that YAML interprets the following case-insensitive strings as | ||
23 | # booleans: `true`, `false`, `on`, `off`, `yes`, `no`. Therefore, these strings | ||
24 | # must be quoted to be interpreted as strings. For example: | ||
25 | # | ||
26 | # en: | ||
27 | # "yes": yup | ||
28 | # enabled: "ON" | ||
29 | |||
30 | en: | ||
31 | hello: "Hello world" | ||