Fighting with i18n and caching (probably)

54 views
Skip to first unread message

francky06l

unread,
Dec 5, 2007, 4:07:56 AM12/5/07
to CakePHP Bleeding Edge
I am having trouble with languages using the latest version #6115.
I have 2 languages handled by the application English and Bulgarian (I
have po files for this). There is a link on page to switch
languages ..that works at first but after a while (that's why suppose
is caching or session problem), the switch does not work anymore. It
remains in English.
I have checked the Confing.language value and it's set right to the
selected language, but does not seems to __() correctly anymore.
When I delete the files in cache/persistent folder it works again ..

I am just getting crazy with this, I have been trying different
security.level etc ... But that does not make it..

Any hints about where I should search ?

Thanks

PS : This was working with an earlier version of cake (before the
changes for the cake_core_xxx caching). I have Auth component, but
removing it does not solve the problem (and I need it) .. Maybe I miss
some new setting that I did not notice ..

francky06l

unread,
Dec 5, 2007, 12:26:16 PM12/5/07
to CakePHP Bleeding Edge
I am progressing, the problem comes when the user Logout. In this
case, I destroy the session and redirect to the home page.
From then, the language can't be switched anymore without clearing the
persistent cached files.

I keep digging, if someone has any ideas ..welcome !!!
Reply all
Reply to author
Forward
0 new messages