[Erp5-dev] which translation function to use...

Mikolaj Antoszkiewicz mikolaj at erp5.pl
Thu Dec 13 14:24:26 CET 2007


Hello,

what are pros and cons for using such translate function mapping:
N_ = lambda msg, **kw: Message('erp5_ui', msg, **kw)

vs. this one:
T_ = context.Base_translateString
(or object.Base_translateString in workflow scripts)

?

Mikolaj

P.S. I've seen both used across ERP5 scripts and code...



More information about the Erp5-dev mailing list