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.
I created a custom module, it contains many fields. I have added translate=true in each fields.
Then i select user language as arabic, but fields in my custom module didn't change to arabic, remaining all fields in the core modules changed to arabic.
How can i convert these custom modules fields into arabic?
First: You have to create an empty po file for your module.
Under Settings ---> Translations ---> Click on Export Translation
Open the downloaded PO file (your_module_name.po) with POEdit, translate it, and save it as: ar_xx.po where xx = country code (as follow):
ar-DZ Arabic - Algeria 0x1401 ARG ar-BH Arabic - Bahrain 0x3C01 ARH ar-EG Arabic - Egypt 0x0C01 ARE ar-IQ Arabic - Iraq 0x0801 ARI ar-JO Arabic - Jordan 0x2C01 ARJ ar-KW Arabic - Kuwait 0x3401 ARK ar-LB Arabic - Lebanon 0x3001 ARB ar-LY Arabic - Libya 0x1001 ARL ar-MA Arabic - Morocco 0x1801 ARM ar-OM Arabic - Oman 0x2001 ARO ar-QA Arabic - Qatar 0x4001 ARQ ar-SA Arabic - Saudi Arabia 0x0401 ARA ar-SY Arabic - Syria 0x2801 ARS ar-TN Arabic - Tunisia 0x1C01 ART ar-AE Arabic - United Arab Emirates 0x3801 ARU ar-YE Arabic - Yemen 0x2401 ARY
Under your module folder create a subfolder and name it i18n, copy your ar_xx.po file in this folder.
Click on Import Translation and import your ar_xx file
Last, under Settings ---> Translations ---> Application Terms click on Synchronize Terms
Reload your page ...
An example of translated term in POEdit:
Some useful links:
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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: 4/10/14, 8:24 AM|
|Seen: 1539 times|
|Last updated: 3/1/16, 4:56 AM|