Permalink
Browse files

Merge pull request #11733 from iainbeeston/master

i18n guide update: corrected reference to activerecord to instead reference activemodel
Conflicts:
	guides/source/i18n.md

[ci skip]
  • Loading branch information...
rafaelfranca committed Aug 3, 2013
1 parent 697fdec commit 1324e2e51b5298edbb3d70d952786a5b08cc9a7e
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/i18n.md
View
@@ -92,7 +92,7 @@ en:
hello: "Hello world"
```
-This means, that in the `:en` locale, the key _hello_ will map to the _Hello world_ string. Every string inside Rails is internationalized in this way, see for instance Active Record validation messages in the [`activerecord/lib/active_record/locale/en.yml`](https://github.com/rails/rails/blob/master/activerecord/lib/active_record/locale/en.yml file or time and date formats in the [`activesupport/lib/active_support/locale/en.yml`](https://github.com/rails/rails/blob/master/activesupport/lib/active_support/locale/en.yml) file. You can use YAML or standard Ruby Hashes to store translations in the default (Simple) backend.
+This means, that in the `:en` locale, the key _hello_ will map to the _Hello world_ string. Every string inside Rails is internationalized in this way, see for instance Active Model validation messages in the [`activemodel/lib/active_model/locale/en.yml`](https://github.com/rails/rails/blob/master/activemodel/lib/active_model/locale/en.yml) file or time and date formats in the [`activesupport/lib/active_support/locale/en.yml`](https://github.com/rails/rails/blob/master/activesupport/lib/active_support/locale/en.yml) file. You can use YAML or standard Ruby Hashes to store translations in the default (Simple) backend.
The I18n library will use **English** as a **default locale**, i.e. if you don't set a different locale, `:en` will be used for looking up translations.

0 comments on commit 1324e2e

Please sign in to comment.