diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-09-22 13:40:54 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-09-22 13:40:54 -0300 |
commit | 3bbc325613583015a1058a1fa77bc87f7af30568 (patch) | |
tree | 21848785a5ba6cd5b942625034ba9f77a394b90c /guides/source/i18n.md | |
parent | 4aefd959450391c400713c347a53d72718d7848a (diff) | |
parent | c4c70322c436487c2152b1bce17e30e4a186a283 (diff) | |
download | rails-3bbc325613583015a1058a1fa77bc87f7af30568.tar.gz rails-3bbc325613583015a1058a1fa77bc87f7af30568.tar.bz2 rails-3bbc325613583015a1058a1fa77bc87f7af30568.zip |
Merge pull request #21718 from thiagoaugusto/patch-4
Update i18n.md [ci skip]
Diffstat (limited to 'guides/source/i18n.md')
-rw-r--r-- | guides/source/i18n.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/i18n.md b/guides/source/i18n.md index 987320a0f8..ea79855919 100644 --- a/guides/source/i18n.md +++ b/guides/source/i18n.md @@ -109,7 +109,7 @@ The **translations load path** (`I18n.load_path`) is an array of paths to files NOTE: The backend lazy-loads these translations when a translation is looked up for the first time. This backend can be swapped with something else even after translations have already been announced. -The default `application.rb` file has instructions on how to add locales from another directory and how to set a different default locale. +The default `config/application.rb` file has instructions on how to add locales from another directory and how to set a different default locale. ```ruby # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. @@ -117,7 +117,7 @@ The default `application.rb` file has instructions on how to add locales from an # config.i18n.default_locale = :de ``` -The load path must be specified before any translations are looked up. To change the default locale from an initializer instead of `application.rb`: +The load path must be specified before any translations are looked up. To change the default locale from an initializer instead of `config/application.rb`: ```ruby # config/initializers/locale.rb |