Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Hallo, how could I write a module whose i18n/it.po overrides some translations of the i18n/it.po of another module?
For a better dealing with my question I'm posting the module (some term are fictitious) since I'm quite unsure of the .po file structure
from openerp.osv import osv, fields
_inherit = 'project.project'
#. module: my_translation_module
msgid "Close Project"
msgstr "Terminare Progetto"
#. module: base
msgid "Projects, Tasks"
msgstr "Progetti, Tasks"
Inherit the original module and place the new file is the exact same directory/path (in the new module) that the original file is located in, in the original module. I hope that makes sense.
new Inherited module >i18n>it.po <-updated version
original module>i18n>it.po <-original.
The inherited should override the original.
[Mine is not an answer (the weird Odoo forum tool configuration doesn't let me comment).]
@John: thank you for replying and for pointing me in a right direction.
Actually importing is working fine, whilst the "module way" is not working (the .po is the same): am I expected to do some operation other than updating the module, restarting Odoo, restarting the OS?
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
|Asked: 1/16/15, 8:12 AM|
|Seen: 1952 times|
|Last updated: 3/16/15, 8:10 AM|