Hello guys ^^
Today’s article will show you how to translate your modules in Odoo 10.
For our tutorial we will work with the module:”hr_expense” that has some few missing translated words and we will explain to you, step by step, how to import the translation into this module.
We will try to translate it in french.
To do so:
1-Activate the developer mode: Setting -> Activate developer mode
2- Install the module “hr_expenses”:
you will notice that some few words are not translated in french.
3- Go to addons/hr_expense/i18n/fr.po:
– Open the file “fr.po”, you will notice that some few words are not translated
https://drive.google.com/file/d/0B09HNye3F974dnZwd3FQLTNXcHM/view?usp=sharing
– Save this file
-Add necessary translation to your file and save it. For our case, we translated the following words:
- “Expenses to Submit”, “Refused Expenses”, “Expense Reports”
3-Import Translation:
Go to : Setting-> Translation-> import/export-> Import translation
4- This window will appear:
5- Add your file “fr.po” and click import:
6- Restart your navigator:
You will notice that the translation has been successfully added.
Please find here a video that shows all the steps of importing translation in Odoo 10 described above :
Hope you guys like it ^^
Best of luck