diff options
author | Vipul A M <vipulnsward@gmail.com> | 2016-05-23 18:51:52 -0700 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2016-05-23 18:51:52 -0700 |
commit | 1c030578d6fddbe37c7e8a35db7bfb37278d349e (patch) | |
tree | b502c22caf9062a2d08f695b00d41e3077bd8782 /guides/source | |
parent | 983fa3b29f8eb0846f1b5cb6b8aea5f07dfb5ecb (diff) | |
download | rails-1c030578d6fddbe37c7e8a35db7bfb37278d349e.tar.gz rails-1c030578d6fddbe37c7e8a35db7bfb37278d349e.tar.bz2 rails-1c030578d6fddbe37c7e8a35db7bfb37278d349e.zip |
- :scissors: space in code to match previous defaults.
- Grammar edits.
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 ``` |