Odoo Help

1

Translations of sql_contraints messages are failing?

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

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

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