Hi there, I have a problem with the translate behaviour and the automatic language selection, that cake obviously does.
To make it short: It seems that my (or all?) Internet Explorer (IE7) and Firefox (FFx3) use a different country code for different languages. For example: IE uses "deu" and the FFx uses "de_de". That is a serious problem for me, because when Cake now tries to access different language versions via a "find" command I get different SQL-statements: IE: Select .... where .... AND `I18n__description`.`locale` = 'deu' FFx: Select .... where .... AND `I18n__description`.`locale` = 'de_de' I save my data with "deu", so I get all the data in the IE but not the FFx, where all "find"-commands give me an empty result. If I would use "de_de" it would be the other way around. Is this a problem of Cake, a problem of the browsers or a problem of my program? Do I have to set some settings in Cake somewhere? Do I have to change the way I write into the database or the way I get it out of it? Sorry, I searched for answers already, but did not find any, but since this looks like a geneal problem, I think, maybe someone else knows what to do. Right now, I don't even know where to start looking, because I don't know, what Cake does in the background, when it chooses a certain language automatically. Greetings! Ah I almost forgot: I use Cake-Version: 1.2.1.8004 on a Windows Vista system with a XAMPP Apache server! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
