diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2018-09-17 17:48:32 -0700 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2018-09-17 17:48:32 -0700 |
commit | 03b18410071f4e8a9a2daff13e02881e5f1a1c12 (patch) | |
tree | ef5e34c57c10418487f72d72085b2599125f04cb /test/dummy/config/locales | |
parent | 12deb313e02680bbd1c07ada79a890d6734d1bf3 (diff) | |
download | rails-03b18410071f4e8a9a2daff13e02881e5f1a1c12.tar.gz rails-03b18410071f4e8a9a2daff13e02881e5f1a1c12.tar.bz2 rails-03b18410071f4e8a9a2daff13e02881e5f1a1c12.zip |
Add dummy app for testing
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" |