Permalink
Browse files

updating i18n guide with locale config location.

This changed in rails/rails#43e14f8
  • Loading branch information...
1 parent d7ef1c1 commit 46902908910c041e268429d674bbe084399cc664 @steveklabnik steveklabnik committed Oct 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/i18n.md
@@ -100,7 +100,7 @@ The **translations load path** (`I18n.load_path`) is just a Ruby Array of paths
NOTE: The backend will lazy-load these translations when a translation is looked up for the first time. This makes it possible to just swap the backend with something else even after translations have already been announced.
-The default `application.rb` files has instructions on how to add locales from another directory and how to set a different default locale. Just uncomment and edit the specific lines.
+The default initializer `locale.rb` file has instructions on how to add locales from another directory and how to set a different default locale. Just uncomment and edit the specific lines.
```ruby
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.

0 comments on commit 4690290

Please sign in to comment.