diff options
author | Sam Stephenson <sam@37signals.com> | 2018-02-08 11:01:46 -0600 |
---|---|---|
committer | Sam Stephenson <sam@37signals.com> | 2018-02-08 11:01:46 -0600 |
commit | 38e1f12d79ec3313e42643e52f2d10cb5fbd5d5d (patch) | |
tree | e62eb8fa577c1c27820bcf8fef5b07b0c1a6085d /test/dummy/config/locales | |
parent | 68d350ddacedf604717f0d1074d7624fa57757c2 (diff) | |
download | rails-38e1f12d79ec3313e42643e52f2d10cb5fbd5d5d.tar.gz rails-38e1f12d79ec3313e42643e52f2d10cb5fbd5d5d.tar.bz2 rails-38e1f12d79ec3313e42643e52f2d10cb5fbd5d5d.zip |
Add dummy app
Diffstat (limited to 'test/dummy/config/locales')
-rw-r--r-- | test/dummy/config/locales/en.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/test/dummy/config/locales/en.yml b/test/dummy/config/locales/en.yml new file mode 100644 index 0000000000..decc5a8573 --- /dev/null +++ b/test/dummy/config/locales/en.yml @@ -0,0 +1,33 @@ +# Files in the config/locales directory are used for internationalization +# and are automatically loaded by Rails. If you want to use locales other +# than English, add the necessary files in this directory. +# +# To use the locales, use `I18n.t`: +# +# I18n.t 'hello' +# +# In views, this is aliased to just `t`: +# +# <%= t('hello') %> +# +# To use a different locale, set it with `I18n.locale`: +# +# I18n.locale = :es +# +# This would use the information in config/locales/es.yml. +# +# The following keys must be escaped otherwise they will not be retrieved by +# the default I18n backend: +# +# true, false, on, off, yes, no +# +# Instead, surround them with single quotes. +# +# en: +# 'true': 'foo' +# +# To learn more, please read the Rails Internationalization guide +# available at http://guides.rubyonrails.org/i18n.html. + +en: + hello: "Hello world" |