Well Yes,
I do some checks on allowed languages, but I don't have a separate
controller to deal with this.
Just scan URL into function (in app_controller.php) and then redirect.

And thank you I do not know that Configure::write('Config.language',
'en') and $_SESSION['Config.language'] are actually the same.



On May 4, 2:35 pm, jitka <[EMAIL PROTECTED]> wrote:
> - if You will store selected language in session, route url '/language/
> *' to some controller->action and do $this->Session->write('Config.language', 
> $arg); in it (probably with check if this
>
> lng is allowed) - then redirect to referer
>
> - if You will save Config.language in session, You don't have to use
> Configure class (session takes precedency)
>
> - /app/locale/<LANG>/LC_MESSAGES should be /app/locale/<LOCALE>/
> LC_MESSAGES - see L10n::$__l10nMap (locale != language)


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to