I have a multi language site where people can change language using
the P28nController and P28nComponent.

I bootstrap.php I set a default language.

The problem right now is that somehow I got an invalid Config.language
setting.

If I in my code do:
-----------
print_r($this->Session->read("Config.language"));
-----------

I get:
------------------
Array
(
    [2؛] => �G5G��>Kn��:
)
-----------------

which seems invalid.

The problem here is that it produces an invalid page since cake cant
find the locale.

What should I do to get round these errors. Other can have invalid
languages as well.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to