Solved by adding
function setL10nLocale($language) {
$I18n =& I18n::getInstance();
$I18n->l10n->get($language);
$I18n->l10n->locale=$I18n->l10n->__l10nCatalog[$language]
['locale'];
}
in AppController, and calling it after language detection.
Still it's strange - why the "standard" way (set 'Config.language' via
Configure) used in every tutorial didn't work for me.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---