I try to setup a multilanguge site with CakePHP and followed this tutorial.
I use Cake 1.3 and it doesn't work. I guess it might crash with other features
of my application, but I have no idea where to look.
What happens is:
http://localhost/cigar/eng/addresses/suche
gives me the identical German output as
http://localhost/cigar/ger/addresses/suche
( I used for testing German and English language. Both po files exist and sit
in the usual directories.)
The debug output of my session cookie looks like this:
Array
(
[Config] => Array
(
[userAgent] => ef7661414bbc83a00b99603c50cbc224
[time] => 1303605745
[timeout] => 10
[language] => ger
)
)
ger is what I defined in the core.php.
So far so good, but I cannot switch the language to English by clicking on the
link the tutorial mentiones. Also the cookie value stays the same, even after
deleting the cookie and relloading
http://localhost/cigar/eng/addresses/suche
Even when I set
Configure::write('Config.language', 'eng');
and delete the cookie and reload everything still stays German.
Any idea what might have gone wrong?
Thanks in advance for any help
Anja
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment