Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updating i18n guide with locale config location.

This changed in rails/rails#43e14f8
  • Loading branch information...
commit 46902908910c041e268429d674bbe084399cc664 1 parent d7ef1c1
@steveklabnik steveklabnik authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  guides/source/i18n.md
View
2  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.

1 comment on commit 4690290

@steveklabnik
Collaborator

That's actually rails/rails@43e14f8, I messed up the notation.

Please sign in to comment.
Something went wrong with that request. Please try again.