Hi Plone-Developers,

i try to translate a formlib button but i don´t
get it to work.

This is a snippet from my addform:

from zope.i18nmessageid import MessageFactory
_ = MessageFactory('extranetmembership')

...


    @form.action(_(u'Useranlegen'))
    def action_resutls(self, action, data):
        context = self.context

This is the part of my i18n file. This works in the
test tab of the PlacelessTranslationService in ControlPanel.


#: ./browser/member.py:64
msgid "Useranlegen"
msgstr "Mitbenutzer anlegen"


But when i render the form i don´t get the translated string.

The translations in interfacs.py works find.

Anyone an idea where i have to look.

Thanks christian


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

Reply via email to