From: Radim N. <nov...@gm...> - 2009-11-08 09:06:33
|
Hi, I'm testing Plone 4 and realized my native language is not selected by default on the site creation page (@@plone-addsite). If this page is accessed from Safari, preferred language is cs-cz >>> IUserPreferredLanguages(self.request).getPreferredLanguages() ['cs-cz'] If this page is accessed from Firefox, preferred language is cs and everything works fine. >>> IUserPreferredLanguages(self.request).getPreferredLanguages() ['cs', 'en'] 'cs' is language code, 'cz' is country code. Is 'cs-cz' combination missing in plone.i18n.locales/languages.py, _combinedlanguagelist ? -- Radim Novotny |