Indeed, that&#39;s what&#39;s happening.<br><br>I used zope.i18n.translate to force the translation in spanish:<br><br>            self.widgets[&#39;city&#39;].title = translate(_(u&#39;City?&#39;), target_language=&#39;es&#39;)<br>

<br>It&#39;s not pretty, but it works.<br><br>Thanks.<br><br>--<br>Noe<br><br><div class="gmail_quote">2012/4/30 Jan-Wijbrand Kolman <span dir="ltr">&lt;<a href="mailto:janwijbrand@gmail.com" target="_blank">janwijbrand@gmail.com</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 27/04/2012 19:23 , Noe Nieto wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
We have a couple of grok.Forms where we change the title of some widgets<br>
in the setUpWidgets() callback:<br>
<br>
     def setUpWidgets(self, ignore_request=False):<br>
         super(AddProjectForm, self).setUpWidgets(ignore_<u></u>request)<br>
         self.widgets[&#39;city&#39;].label = &#39;1&#39;<br>
         self.widgets[&#39;specialty&#39;].<u></u>label = &#39;2&#39;<br>
         self.widgets[&#39;contractor&#39;].<u></u>label = &#39;2&#39;<br>
<br>
         self.widgets[&#39;city&#39;].title = _(u&#39;City?&#39;)<br>
         self.widgets[&#39;specialty&#39;].<u></u>title = _(u&#39;What you need to do?&#39;)<br>
         self.widgets[&#39;contractor&#39;].<u></u>title = _(u&#39;Who you want for you job?&#39;)<br>
<br>
The problem with this is that, while our translatable strings are<br>
recognized as translations and we have proper translation strings in our<br>
.po files, these strings are never translated.<br>
<br>
So, what&#39;s the catch?<br>
</blockquote>
<br></div>
I think when the titles are being interpolated into the page template they are no longer recognized as message ids.<br>
<br>
I&#39;m slightly guessing here but either you add i18n:translate=&quot;&quot; attributes in the tal elements that interpolate the titles in the form rendering template or call translate (for example from zope.i18n.translate) on the message ids in setUpWidgets.<br>


<br>
HTH<br>
regards, jw<br>
<br>
<br>
______________________________<u></u>_________________<br>
Grok-dev mailing list<br>
<a href="mailto:Grok-dev@zope.org" target="_blank">Grok-dev@zope.org</a><br>
<a href="https://mail.zope.org/mailman/listinfo/grok-dev" target="_blank">https://mail.zope.org/mailman/<u></u>listinfo/grok-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><span style="color:rgb(255,204,102)">---</span><br>
<span style="color:rgb(204,153,51)">Noe Nieto</span><br>
NNieto Consulting Services<br>
M: <a href="mailto:nnieto@noenieto.com" target="_blank">nnieto@noenieto.com</a><br>
W: <a href="http://noenieto.com" target="_blank">http://noenieto.com</a><br>
T:  <a href="https://twitter.com/#%21/tzicatl" target="_blank">@tzicatl</a><br>Li: <a href="http://www.linkedin.com/profile/view?id=84300665" target="_blank">Perfil en LinkedIn</a><br><br>