<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2800.1479" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have the Zope 2.7.0 instaled under Linux
OS.</FONT></DIV>
<DIV><FONT face=Arial size=2>I want to have my website in many languages in
one Plone site. So I have installed "Placeless Translation Service". I've
made 2 .po files (cms_pl.po, cms_en.po) and compiled to .mo files
(cms_pl.mo, cms_en.mo).</FONT></DIV>
<DIV><FONT face=Arial size=2>I want to change website language version based on
varriable value in ZPT and this is the problem (I think).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>There is second way. I can do 2 .po files with
different "Domain" and choose the one depends on variable but I cant
dynamicialy set "i18n:domain" attribute.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>How to manage that?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks in advance</FONT></DIV>
<DIV><FONT face=Arial size=2>Krzysztof Kubacki</FONT></DIV></BODY></HTML>