Bernd Dorn wrote:
When I do .po files with the same domain, e.g: "Domain: CMS\n" and they have different "Language-Code:" header e.g: "Language-Code: pl\n" and "Language-Code: en\n" Zope chooses language based on web browser settings :(. When I'm setting "xml:lang" and "lang" attributtes it doesen't make effect.

i suppose you need a manual lang switch on your site ...

take a look at PlacelessTranslationService/Negotiator.py
you can set a cookie called 'pts_language'

...or you can just write a negotiator that behaves the way you want.

Chris

--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Reply via email to