Odoo 10 - Translation

M.E.

I have developed a custom module, using English for all the records.

I want to include a localized translation file for a local language (which happens to be Spanish).

I have learnt here in the Odoo doc that I need to export a .PO file using "New Language (Empty translation template)".

  1. I can read the .PO file and understand where do I have the translated files, but my question is, apart from the obvious translation part, how can you "tell" Odoo that you are adding a translation for Spanish?

  2. I understand that the .PO file must be put inside i18n folder in the module. But which name shall I gave to it for spanish?

  3. What shall be added to the file to tell "Odoo" it is a translation for Spanish?

Thanks,

Dayana

You only need to rename your file to es.po and put it into your_module\i18n\es.po.

I hope this help you!

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

TOP Ranking

HotTag

Archive