Merge pull request #134 from bhongong/patch-1

Correction on documentation regarding Setting the viewer's locale
This commit is contained in:
Ingo Schommer 2013-08-28 07:12:05 -07:00
commit 3476a04eb4

View File

@ -336,7 +336,7 @@ By user preference (place this in your Page_Controller->init() method):
:::php :::php
$member = Member::currentUser(); $member = Member::currentUser();
if($member && $member->Locale) { if($member && $member->Locale) {
Translatable::set_reading_locale($member->Locale); Translatable::set_current_locale($member->Locale);
} }
### Templates ### Templates