Re: Localizing autherror and loginerror

2008-09-12 Thread Marcin Domanski
why not translate these in beforeRender ? :) HTH, -- Marcin Domanski http://kabturek.info On Fri, Sep 12, 2008 at 8:28 AM, David C. Zentgraf <[EMAIL PROTECTED]> wrote: > > I had the same problem a while back, search the group for it. > The problem is that the first time a translation is done, i.

Re: Localizing autherror and loginerror

2008-09-11 Thread David C. Zentgraf
I had the same problem a while back, search the group for it. The problem is that the first time a translation is done, i.e. the __() function is used, the language is locked and cannot be changed anymore for the rest of the page execution. (Actually, rightly so, otherwise you might get half

Re: Localizing autherror and loginerror

2008-09-11 Thread Braindead
Hi guys, after spending some more time I solved my problem with authError and loginError messages of the Auth component only displaying in the default language. Just in case somebody has the same problem I post the solution. :-) This is my app_controller.php file where only the L10n part and the

Localizing autherror and loginerror

2008-09-07 Thread Braindead
Hi guys, I'm currently localizing my application in English and German. Everything works as expected. Except the authError and loginError messages of the Auth component. I'm trying to set these messages in the app_controller beforeFilter event. But the messages are always shown in German (default