diff options
author | bry4n <bryann83@gmail.com> | 2014-07-25 05:11:49 +0400 |
---|---|---|
committer | bry4n <bryann83@gmail.com> | 2014-07-25 05:11:49 +0400 |
commit | dfb9e5b46d12572a467183aecbfff0d12b6defba (patch) | |
tree | 63c55b2fb828f51028f9408b53f5095cbbfcf174 /config/locales | |
parent | faa8ccb917b98282d58b6a65a907f2001cd6dedd (diff) |
Rails 4.1.4
Diffstat (limited to 'config/locales')
-rw-r--r-- | config/locales/en.yml | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml index 179c14ca..06539571 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1,5 +1,23 @@ -# Sample localization file for English. Add more files in this directory for other locales. -# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. +# 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. +# +# To learn more, please read the Rails Internationalization guide +# available at http://guides.rubyonrails.org/i18n.html. en: hello: "Hello world" |