This question has been flagged
2470 Views

What's happening with translations of sql_constraints messages? Is there a bug or I'm missing somethig, some configuration maybe? In generated .po are present all sql_constraints messages, but they aren't displayed translated. Why? Is there any one with the same problem? I'm translating to Spanish language. I detected this problem since i'm using odoo v8, because in openerp v7 there aren't any problem. In other hand, messages from python code, from constraints functions everything is working fine!! Here is one example of part of my code: _sql_constraints = [('name_uniq', 'unique(name)', 'The name must be unique!')] and in .po file: #. module: worker #: sql_constraint:pig.area:0 msgid "The name must be unique!" msgstr "¡El nombre debe ser único!" Thanks in advanced. Regards

Avatar
Discard