[z3-five] AddMenuItem in five
Lennart Regebro
regebro at gmail.com
Tue Sep 12 10:02:01 CEST 2006
On 9/12/06, Daniel de la Cuesta <cues7a at yahoo.es> wrote:
> Finally, when I run zope I get the following error in my configure.zcml
> file:
>
> NameError: name '_' is not defined
Then you have, somewhere in your python files, used _ without defining it.
_ is not a magic name, although it looks magic. It's just a variable
that needs to be defined just like everything else.
It's usually defined to MessageFactory('domainname') and used for translations.
More information about the z3-five
mailing list