<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.StileMessaggioDiPostaElettronica18
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.StileMessaggioDiPostaElettronica19
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.StileMessaggioDiPostaElettronica20
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.StileMessaggioDiPostaElettronica21
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:43717983;
        mso-list-template-ids:122200794;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1
        {mso-list-id:1047803180;
        mso-list-template-ids:678714868;}
@list l1:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l2
        {mso-list-id:1087851325;
        mso-list-type:hybrid;
        mso-list-template-ids:1453210598 68157441 68157443 68157445 68157441 68157443 68157445 68157441 68157443 68157445;}
@list l2:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l2:level2
        {mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l2:level3
        {mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l2:level4
        {mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l2:level5
        {mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l2:level6
        {mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l2:level7
        {mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l2:level8
        {mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l2:level9
        {mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l3
        {mso-list-id:1807622319;
        mso-list-template-ids:284467264;}
@list l3:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l3:level2
        {mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l3:level3
        {mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l3:level4
        {mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l3:level5
        {mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l3:level6
        {mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l3:level7
        {mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l3:level8
        {mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l3:level9
        {mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
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 bgcolor=white lang=IT link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Thanks for your help.<o:p></o:p></span></font></p>

<p class=MsoNormal style='line-height:14.4pt;background:white'><font size=2
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'>I have
looked the layers.tpl file in the demoCW3 project but I have not understood how
to use this example.<o:p></o:p></span></font></p>

<p class=MsoNormal style='line-height:14.4pt;background:white'><font size=2
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'>I try to
&nbsp;give you some information on my project:<o:p></o:p></span></font></p>

<p class=MsoNormal style='line-height:14.4pt;background:white'><font size=2
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'>Project
name : 1_Applicazione<o:p></o:p></span></font></p>

<p class=MsoNormal style='line-height:14.4pt;background:white'><font size=2
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'>This is
the organization of my folder:<o:p></o:p></span></font></p>

<p class=MsoNormal style='line-height:14.4pt;background:white'><font size=2
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Client_conf<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Coreplugins (in this folder there is layers.tpl)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Htdocs<o:p></o:p></span></font></p>

<p class=MsoNormal><st1:place w:st="on"><font size=2 face=Arial><span
 lang=EN-GB style='font-size:10.0pt;font-family:Arial'>Po</span></font></st1:place><font
size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Server_conf<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Templates<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>How I can use the layers.tpl?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>I have the problem also with the language.<o:p></o:p></span></font></p>

<p class=MsoNormal style='line-height:14.4pt;background:white'><font size=2
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'>I have
made all the modifications that you have said to me but the language is always
English.<o:p></o:p></span></font></p>

<p class=MsoNormal style='line-height:14.4pt;background:white'><font size=2
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'>In order
:<o:p></o:p></span></font></p>

<ul style='margin-top:0cm' type=disc>
 <li class=MsoNormal style='line-height:14.4pt;mso-list:l2 level1 lfo3;
     background:white'><font size=2 face=Arial><span lang=EN-GB
     style='font-size:10.0pt;font-family:Arial'>I have modified the file
     client.ini I and I have add this rows &#8220;defaultLang = it langList = it,fr,
     en&#8221;<o:p></o:p></span></font></li>
 <li class=MsoNormal style='line-height:14.4pt;mso-list:l2 level1 lfo3;
     background:white'><font size=2 face=Arial><span lang=EN-GB
     style='font-size:10.0pt;font-family:Arial'>I have copy the file .po in my
     folder &#8220;1_Applicazione\po&#8221;<o:p></o:p></span></font></li>
 <li class=MsoNormal style='line-height:14.4pt;mso-list:l2 level1 lfo3;
     background:white'><font size=2 face=Arial><span lang=EN-GB
     style='font-size:10.0pt;font-family:Arial'>I have created the file .mo in
     the folder &#8220;C:\ms4w\apps\cartoweb3\locale&#8221;<o:p></o:p></span></font></li>
 <li class=MsoNormal style='line-height:14.4pt;mso-list:l2 level1 lfo3;
     background:white'><font size=2 face=Arial><span lang=EN-GB
     style='font-size:10.0pt;font-family:Arial'>I have executed the
     cw3setup.php &#8211;install and &#8211;clean<o:p></o:p></span></font></li>
 <li class=MsoNormal style='line-height:14.4pt;mso-list:l2 level1 lfo3;
     background:white'><font size=2 face=Arial><span lang=EN-GB
     style='font-size:10.0pt;font-family:Arial'>I have restarded Apache <o:p></o:p></span></font></li>
</ul>

<p class=MsoNormal style='line-height:14.4pt;background:white'><font size=2
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='line-height:14.4pt;background:white'><font size=2
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'>But the
language is English.<o:p></o:p></span></font></p>

<p class=MsoNormal style='line-height:14.4pt;background:white'><font size=2
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='line-height:14.4pt;background:white'><font size=2
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'>Can you
help me?<o:p></o:p></span></font></p>

<p class=MsoNormal style='line-height:14.4pt;background:white'><font size=2
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='line-height:14.4pt;background:white'><font size=2
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'>Thanks<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>Da:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Oliver Christen
[mailto:oliver.christen@camptocamp.com] <br>
<b><span style='font-weight:bold'>Inviato:</span></b> marted́ 27 maggio 2008
10.31<br>
<b><span style='font-weight:bold'>A:</span></b> Giovanni Virdis;
cartoweb-dev@lists.maptools.org<br>
<b><span style='font-weight:bold'>Oggetto:</span></b> Re: [Cartoweb-dev]
Problem: refresh map and set the language</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><font size=2 face="Times New Roman"><span style='font-size:
10.0pt'>Hi</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face="Times New Roman"><span style='font-size:
10.0pt'>1) look at the layers.tpl file in the&nbsp;demoCW3 project, there are
additional javscript function on the layer's checkbox</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=2 face="Times New Roman"><span style='font-size:
10.0pt'>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></span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=2 face="Times New Roman"><span style='font-size:
10.0pt'>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)</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=2 face="Times New Roman"><span style='font-size:
10.0pt'>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></span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>defaultLang = it<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>langList = it (for example)<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face="Times New Roman"><span style='font-size:
10.0pt'>and finally execut the cw3setup.php --install command so the .po get
compiled into .mo</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=2 face="Times New Roman"><span style='font-size:
10.0pt'>clean Smarty cache cw3setup.php --clean</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=2 face="Times New Roman"><span style='font-size:
10.0pt'>eventualy restart apache (there are some unstabilities between gettext
and apache)</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face="Times New Roman"><span style='font-size:
10.0pt'>regards</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=2 face="Times New Roman"><span style='font-size:
10.0pt'>Oliver</span></font><o:p></o:p></p>

</div>

<blockquote style='border:none;border-left:solid black 1.5pt;padding:0cm 0cm 0cm 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>----- Original Message ----- <o:p></o:p></span></font></p>

</div>

<div style='font-color:black'>

<p class=MsoNormal style='background:#E4E4E4'><b><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial;font-weight:bold'>From:</span></font></b><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> <a
href="mailto:g.virdis@riteco.it" title="g.virdis@riteco.it">Giovanni Virdis</a>
<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><b><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;font-weight:bold'>To:</span></font></b><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'> <a
href="mailto:cartoweb-dev@lists.maptools.org"
title="cartoweb-dev@lists.maptools.org">cartoweb-dev@lists.maptools.org</a> <o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><b><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;font-weight:bold'>Sent:</span></font></b><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'> Tuesday, May 27,
2008 9:28 AM<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><b><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;font-weight:bold'>Subject:</span></font></b><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'> [Cartoweb-dev]
Problem: refresh map and set the language<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi, i have some question<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<ul style='margin-top:0cm' type=disc>
 <li class=MsoNormal style='mso-list:l3 level1 lfo6'><font size=2 face=Arial><span
     lang=EN-GB style='font-size:10.0pt;font-family:Arial'>How I can refresh
     the map when i click on the check of the layer without use a button
     &#8220;refresh&#8221;</span></font><span lang=EN-GB> </span><font size=2
     face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></li>
 <li class=MsoNormal style='mso-list:l3 level1 lfo6'><font size=2 face=Arial><span
     lang=EN-GB style='font-size:10.0pt;font-family:Arial'>How I can set the
     language to Italian</span></font><span lang=EN-GB> </span><font size=2
     face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></li>
</ul>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Thanks<o:p></o:p></span></font></p>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center>

</span></font></div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>_______________________________________________<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><o:p></o:p></span></font></p>

</blockquote>

</div>

</body>

</html>