diff options
author | Karel Minarik <karmi@karmi.cz> | 2009-01-26 13:40:35 +0100 |
---|---|---|
committer | Karel Minarik <karmi@karmi.cz> | 2009-01-26 13:40:35 +0100 |
commit | 0b02e443a130db0f4f6bc4c0839bf4dad76cd7d5 (patch) | |
tree | c4183a0d297ea85a6c30260953d72ae213f94337 /railties | |
parent | aae0bec4f6db00435e833f76b244757caa9626b8 (diff) | |
download | rails-0b02e443a130db0f4f6bc4c0839bf4dad76cd7d5.tar.gz rails-0b02e443a130db0f4f6bc4c0839bf4dad76cd7d5.tar.bz2 rails-0b02e443a130db0f4f6bc4c0839bf4dad76cd7d5.zip |
Clarifying the need and context of patching i18n in Rails 2.2, so we have "available_locales" available {i18n guide}
Diffstat (limited to 'railties')
-rw-r--r-- | railties/doc/guides/source/i18n.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/doc/guides/source/i18n.txt b/railties/doc/guides/source/i18n.txt index e3b3877760..6a20133254 100644 --- a/railties/doc/guides/source/i18n.txt +++ b/railties/doc/guides/source/i18n.txt @@ -151,7 +151,7 @@ Of course, you probably don't want to manually include locale in every URL all o IMPORTANT: Following examples rely on having locales loaded into your application available as an array of strings like +["en", "es", "gr"]+. This is not inclued in current version of Rails 2.2 -- forthcoming Rails version 2.3 will contain easy accesor +available_locales+. (See http://github.com/svenfuchs/i18n/commit/411f8fe7[this commit] and background at http://rails-i18n.org/wiki/pages/i18n-available_locales[Rails I18n Wiki].) -We have to include support for getting available locales manually in an initializer like this: +So, for having available locales easily available in Rails 2.2, we have to include this support manually in an initializer, like this: [source, ruby] ------------------------------------------------------- |