<br><div class="gmail_quote">2008/12/15 Yuri <span dir="ltr">&lt;<a href="mailto:yurj@alfa.it">yurj@alfa.it</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
SauZheR at gOOgle ha scritto:<div class="Ih2E3d"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
e&#39; quello che ho fatto.<br>
Il msgid sembra essere &quot;month_gen&quot; &quot;month_feb&quot;... ecc.<br>
<br>
il seguente codice dovrebbe funzionare:<br>
<br>
&lt;dd tal:define=&quot;data obj/getDatanascita&quot; i18n:domain=&quot;plone&quot;&gt;Data di nascita:<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;span tal:content=&quot;data/dd&quot;&gt;01&lt;/span&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;span &nbsp;i18n:translate=&quot;&quot; tal:content=&quot;python:&#39;month_%s&#39; % data.aMonth().lower()&quot;&gt;01&lt;/span&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;span tal:content=&quot;data/year&quot;&gt;1900&lt;/span&gt;<br>
&lt;/dd&gt;<br>
<br>
ma printa esattamente: 11 month_gen 1960 &nbsp; :headbang:<br>
</blockquote>
<br></div>
scusa, ma riprendere il codice usato nel calendario, no? :)</blockquote><div>verametne ho provato a prendere il codice del calendario, ma non funziona neanche quello. <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
Per forza printa month_gen, è quello che gli fai stampare tu :D</blockquote><div>&nbsp;</div><div>pensavo che l&#39;attributo i18:translate&nbsp; prendesse il contenuto dell&#39;elemento come msgid... ammetto che l&#39;internazionalizzazione non e&#39; mai stata un requisito fondamentale dei progetti che porto avanti... ma pensavo di averci capito qualcosa :(<br>
<br></div>grazie cmq,<br>riprovero&#39; magari saro&#39; piu&#39; fortunato<br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
<br>
2008/12/13 Fabrizio Reale &lt;<a href="mailto:fabrizio.reale@redomino.com" target="_blank">fabrizio.reale@redomino.com</a> &lt;mailto:<a href="mailto:fabrizio.reale@redomino.com" target="_blank">fabrizio.reale@redomino.com</a>&gt;&gt;<div class="Ih2E3d">
<br>
<br>
 &nbsp; &nbsp;Ciao,<br>
<br>
 &nbsp; &nbsp;&gt; chiedo scusa per la banalita&#39; della domanda che andro&#39; a<br>
 &nbsp; &nbsp;porre... con<br>
 &nbsp; &nbsp;&gt; plone2, tempo fa, ne uscii... al momento con plone3 non riesco a<br>
 &nbsp; &nbsp;venirne a<br>
 &nbsp; &nbsp;&gt; capo:<br>
 &nbsp; &nbsp;&gt;<br>
 &nbsp; &nbsp;&gt; Come faccio a tradurre ilnome di un mese con l&#39;i18n? Sfruttando<br>
 &nbsp; &nbsp;il dominio<br>
 &nbsp; &nbsp;&gt; di plone, ovviamente.<br>
<br>
 &nbsp; &nbsp;Non mi ricordo più quando avevo avuto questa necessità.<br>
 &nbsp; &nbsp;Ma se guardi nel file i18n vedi quale msgid devi mettere per farli<br>
 &nbsp; &nbsp;tradurre.<br>
 &nbsp; &nbsp;E poi il lavoro lo fa lui.<br>
<br>
 &nbsp; &nbsp;Fabry<br>
<br>
<br>
 &nbsp; &nbsp;--<br>
 &nbsp; &nbsp;Fabrizio Reale - <a href="mailto:fabrizio.reale@redomino.com" target="_blank">fabrizio.reale@redomino.com</a><br></div>
 &nbsp; &nbsp;&lt;mailto:<a href="mailto:fabrizio.reale@redomino.com" target="_blank">fabrizio.reale@redomino.com</a>&gt;<div class="Ih2E3d"><br>
 &nbsp; &nbsp;Redomino S.r.l. - <a href="http://www.redomino.com/" target="_blank">http://www.redomino.com/</a><br>
 &nbsp; &nbsp;Largo Valgioie 14 - 10146 Torino - Italy<br>
 &nbsp; &nbsp;Tel: +39 011 7499875 - Fax: +39 011 3716911<br>
<br>
<br>
<br>
 &nbsp; &nbsp;_______________________________________________<br>
 &nbsp; &nbsp;Plone-IT mailing list<br></div>
 &nbsp; &nbsp;<a href="mailto:Plone-IT@lists.plone.org" target="_blank">Plone-IT@lists.plone.org</a> &lt;mailto:<a href="mailto:Plone-IT@lists.plone.org" target="_blank">Plone-IT@lists.plone.org</a>&gt;<div class="Ih2E3d"><br>
 &nbsp; &nbsp;<a href="http://lists.plone.org/mailman/listinfo/plone-it" target="_blank">http://lists.plone.org/mailman/listinfo/plone-it</a><br>
 &nbsp; &nbsp;<a href="http://www.nabble.com/Plone---Italy-f21728.html" target="_blank">http://www.nabble.com/Plone---Italy-f21728.html</a><br>
<br>
<br>
<br>
<br>
-- <br>
&nbsp;bye<br>
SauZheR<br>
************************************<br>
l&#39;iterazione è umana...<br>
la ricorsione, Divina!<br>
************************************<br>
reply to: sauzher AT gmail DOT com<br></div>
------------------------------------------------------------------------<div class="Ih2E3d"><br>
<br>
_______________________________________________<br>
Plone-IT mailing list<br>
<a href="mailto:Plone-IT@lists.plone.org" target="_blank">Plone-IT@lists.plone.org</a><br>
<a href="http://lists.plone.org/mailman/listinfo/plone-it" target="_blank">http://lists.plone.org/mailman/listinfo/plone-it</a><br>
<a href="http://www.nabble.com/Plone---Italy-f21728.html" target="_blank">http://www.nabble.com/Plone---Italy-f21728.html</a><br>
</div></blockquote><div><div></div><div class="Wj3C7c">
<br>
<br>
_______________________________________________<br>
Plone-IT mailing list<br>
<a href="mailto:Plone-IT@lists.plone.org" target="_blank">Plone-IT@lists.plone.org</a><br>
<a href="http://lists.plone.org/mailman/listinfo/plone-it" target="_blank">http://lists.plone.org/mailman/listinfo/plone-it</a><br>
<a href="http://www.nabble.com/Plone---Italy-f21728.html" target="_blank">http://www.nabble.com/Plone---Italy-f21728.html</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br> &nbsp;bye<br>SauZheR<br>************************************<br>l&#39;iterazione è umana...<br>la ricorsione, Divina!<br>************************************<br>reply to: sauzher AT gmail DOT com<br>