I'm still having a problem, I don't know what's wrong...

What could explain that I can do the following without any problem in
a page template :
<tal:block i18n:domain="plonegetpaid" i18n:translate="N/A" />

But this doesn't work :
(Pdb) from zope.i18nmessageid import MessageFactory
(Pdb) translate(MessageFactory('plonegetpaid')(u'N/A',
default='.'),context=self.request)
'.'

It works well with other domains however :
(Pdb) translate(MessageFactory('getpaid')(u'Authorize',
default='.'),context=self.request)
u'Autorizar'

So there seems to be a problem with this domain only, but it works in
page templates... ? Anybody has an idea what could be wrong?

Thanks,

Jean-Pascal

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to