Odoo Help


Warning is not translated. Why?

Trong Danh
on 5/23/13, 6:42 AM 2,216 views

I go to Settings -> Application Terms -> Translated Terms

I found original string of my warning and value I translated, and it only exists once for every language.

But when I run it not translated.

Can you help me? Thanks in advance.

plz post an example of warning not translated.

on 5/23/13, 7:17 AM

my example

msgalert = { 'title':_('My title'), 'message': _('My message') }

return {'warning':msgalert}

I want to translate 'My title' and 'My message' to other language. When i on_change on the textbox, example I want to display a warning as above in other language when I enter not correctly date with format dd/mm/yyyy.

Trong Danh
on 5/23/13, 8:31 AM

My message ??

on 5/23/13, 8:34 AM

warning = {'title':_('Title'), 'message':_('Anything is not important')} I want to translate 'Title' & 'Anything is not important' to Vietnamese is 'Tiêu đề' & 'Mọi thứ không quan trọng'

Trong Danh
on 5/23/13, 8:44 AM

I have a problem when I use file.po to translate

My python code:

warning = {'title':_('Title'), 'message':_('Message')}

return {'warning': warning}

I export to file vi_VN.po contains:

#. module: base

#: code:addons\base\ir\ir_model.py:279

#, python-format

msgid "Title"

msgstr "Tiêu đề"

"Tiêu đề" is Vietnamese which language i want to translate to.

Then I place vi_VN.po in folder i18n in my project.

But i run it is not translated. Why?

Can you help me? Thanks in advance.

Trong Danh
on 5/23/13, 9:10 AM


--Borni DHIFI--
| 6 8 9
Tunis, Tunisia
--Borni DHIFI--

Techno Functional Consultant Odoo(OpenERP) 


Skype : dhifi.borni

On 5/23/13, 10:01 AM


see this subject How to overwrite Translations?

Thank you very much! But i still get that bug. Hichic

Trong Danh
on 5/25/13, 5:30 AM

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.


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

0 follower(s)


Asked: 5/23/13, 6:42 AM
Seen: 2216 times
Last updated: 3/16/15, 8:10 AM