We have a couple of grok.Forms where we change the title of some widgets in the setUpWidgets() callback:<br><br> def setUpWidgets(self, ignore_request=False):<br> super(AddProjectForm, self).setUpWidgets(ignore_request)<br>
self.widgets['city'].label = '1'<br> self.widgets['specialty'].label = '2'<br> self.widgets['contractor'].label = '2'<br><br> self.widgets['city'].title = _(u'City?')<br>
self.widgets['specialty'].title = _(u'What you need to do?')<br> self.widgets['contractor'].title = _(u'Who you want for you job?')<br><br>The problem with this is that, while our translatable strings are recognized as translations and we have proper translation strings in our .po files, these strings are never translated. <br>
<br>So, what's the catch?<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>