<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = 
"urn:schemas-microsoft-com:vml" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16640" name=GENERATOR>
<STYLE>@page Section1 {size: 595.3pt 841.9pt; margin: 70.85pt 2.0cm 2.0cm 2.0cm; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.StileMessaggioDiPostaElettronica17 {
        COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal
}
SPAN.StileMessaggioDiPostaElettronica18 {
        COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply
}
DIV.Section1 {
        page: Section1
}
OL {
        MARGIN-BOTTOM: 0cm
}
UL {
        MARGIN-BOTTOM: 0cm
}
</STYLE>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=IT vLink=purple link=blue bgColor=#ffffff>
<DIV><FONT size=2>Hi</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>1) look at the layers.tpl file in the&nbsp;demoCW3 project, 
there are additional javscript function on the layer's checkbox</FONT></DIV>
<DIV><FONT size=2>2) <A 
href="http://www.cartoweb.org/doc_head/docbook/xhtml/user.i18n.html#user.i18n.translations.translating">http://www.cartoweb.org/doc_head/docbook/xhtml/user.i18n.html#user.i18n.translations.translating</A></FONT></DIV>
<DIV><FONT size=2>copy the existing .po files in your project and rename them 
with your lang tag (client.po -&gt; client.it.po, server.your_project_name.po 
-&gt; server.your_project_name.it.po, server.po -&gt; server.it.po)</FONT></DIV>
<DIV><FONT size=2>add your lang in client.ini : <A 
href="http://www.cartoweb.org/doc_head/docbook/xhtml/user.config.html#user.config.client">http://www.cartoweb.org/doc_head/docbook/xhtml/user.config.html#user.config.client</A></FONT></DIV>
<DIV>defaultLang = it</DIV>
<DIV>langList = it (for example)</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>and finally execut the cw3setup.php --install command so the 
.po get compiled into .mo</FONT></DIV>
<DIV><FONT size=2>clean Smarty cache cw3setup.php --clean</FONT></DIV>
<DIV><FONT size=2>eventualy restart apache (there are some unstabilities between 
gettext and apache)</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>regards</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=g.virdis@riteco.it href="mailto:g.virdis@riteco.it">Giovanni 
  Virdis</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=cartoweb-dev@lists.maptools.org 
  href="mailto:cartoweb-dev@lists.maptools.org">cartoweb-dev@lists.maptools.org</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, May 27, 2008 9:28 AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-dev] Problem: refresh 
  map and set the language</DIV>
  <DIV><BR></DIV>
  <DIV class=Section1>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi, i have some 
  question<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <UL style="MARGIN-TOP: 0cm" type=disc>
    <LI class=MsoNormal style="mso-list: l0 level1 lfo3"><FONT face=Arial 
    size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">How I 
    can refresh the map when i click on the check of the layer without use a 
    button “refresh”<o:p></o:p></SPAN></FONT> 
    <LI class=MsoNormal style="mso-list: l0 level1 lfo3"><FONT face=Arial 
    size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">How I 
    can set the language to Italian<o:p></o:p></SPAN></FONT> </LI></UL>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks<o:p></o:p></SPAN></FONT></P></DIV>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Cartoweb-dev mailing 
  list<BR><A 
  href="mailto:Cartoweb-dev@lists.maptools.org">Cartoweb-dev@lists.maptools.org</A><BR><A 
  href="http://lists.maptools.org/mailman/listinfo/cartoweb-dev">http://lists.maptools.org/mailman/listinfo/cartoweb-dev</A><BR></BLOCKQUOTE></BODY></HTML>