diff options
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/i18n.md | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/guides/source/i18n.md b/guides/source/i18n.md index 92045e0647..f3802a142f 100644 --- a/guides/source/i18n.md +++ b/guides/source/i18n.md @@ -109,12 +109,10 @@ 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. -You can change the default locale and also configure the translations load -paths in `config/application.rb` as follows: +You can change the default locale as well as configure the translations load paths in `config/application.rb` as follows: ```ruby config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] - config.i18n.default_locale = :de ``` |