Browse files

Fix the note about Locale.primary_locale_name in README

  • Loading branch information...
1 parent 0de49c7 commit 8e7eb92dc8fc3976187ef9b4579b3ed3d2587a41 @lifo lifo committed Apr 9, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 README
View
2 README
@@ -26,7 +26,7 @@ To setup :
* Usage
-Tolk treats <tt>Tolk::Locale.primary_locale_name</tt> as the main source of strings to be translated. Developers are expected to make all the changes to that file ( en.yml in our case ) and treat all the other locale.yml files as readonly files.
+Tolk treats I18n.default_locale as the master source of strings to be translated. If you want the master source to be different from I18n.default_locale, you can override it by setting Tolk::Locale.primary_locale_name. Developers are expected to make all the changes to the master locale file ( en.yml by default ) and treat all the other locale.yml files as readonly files.
As tolk stores all the keys and translated strings in the database, you need to ask Tolk to update it's database from the primary yml file :

0 comments on commit 8e7eb92

Please sign in to comment.