Community mailing list archives

community@mail.odoo.com

Re: Translation function

by
Skillteam, Houssine BAKKALI
- 06/01/2015 13:09:45

ir_translation is for building the translation table.

Translation.py should be the place to look

Le 1 juin 2015 4:42 PM, "Mohamed M. Hagag" <mohamedhagag1981@gmail.com> a écrit :

Dears,


I would like to which function in which python file responsible for getting the value of translation in the web UI.


there are 2 files but I'm not sure which one:

1- tools/translate.py with function translate -- I think this is the one I'm looking for

2- openerp/addons/base/ir/ir_translation.py -- I think this file is responsible for building the ir_translation table only



Regards,

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe