<!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>&nbsp;</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&nbsp;have my website in many languages in 
one Plone site. So I&nbsp;have installed "Placeless Translation Service". I've 
made&nbsp;2 .po files (cms_pl.po, cms_en.po)&nbsp;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&nbsp;and this is the problem (I think).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>When I do .po files with the same domain, e.g: 
"Domain: CMS\n"&nbsp;and&nbsp;they have different "Language-Code:" 
header&nbsp;e.g:&nbsp;"Language-Code: pl\n" and "Language-Code: en\n" Zope 
chooses language based on web browser settings :(. When I'm setting 
&nbsp;"xml:lang" and&nbsp;"lang" attributtes it doesen't make 
effect.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</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&nbsp;but I cant 
dynamicialy&nbsp;set&nbsp; "i18n:domain" attribute.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>How to manage that?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks in advance</FONT></DIV>
<DIV><FONT face=Arial size=2>Krzysztof Kubacki</FONT></DIV></BODY></HTML>