Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Translations of sql_contraints messages are failing?

Alexei R. Acosta
on 5/29/15, 11:24 AM 298 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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 5/29/15, 11:24 AM
Seen: 298 times
Last updated: 5/29/15, 12:22 PM