Odoo Help

Welcome!

This community 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.

1

Arabic language is not working in custom module?

By
Remya
on 4/10/14, 8:24 AM 1,444 views

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?

1

Med Said BARA

--Med Said BARA--
2664
| 5 5 7
Algeria
--Med Said BARA--
Med Said BARA
On 4/10/14, 3:01 PM

First: You have to create an empty po file for your module.

Under Settings ---> Translations ---> Click on Export Translation

Creating Empty PO File

Download PO File

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

Import PO

Last, under Settings ---> Translations ---> Application Terms click on Synchronize Terms

Reload your page ...

An example of translated term in POEdit:

POEdit Example

Some useful links:

OpenERP

ISO_639

Thanks.I will check and reply you.

Remya
on 4/11/14, 4:02 AM

Its not working for me. How i translate .po in POedit?

Remya
on 4/11/14, 6:44 AM

In which step did you encounter difficulties? In POEdit, you have to translate line by line, as described in the last image: for each line you have to give the translation in Arabic.

Med Said BARA
on 4/11/14, 7:20 AM

Its now working. Thanks for helping.

Remya
on 4/11/14, 11:20 AM

Its working. Thanks for helping.

Remya
on 4/11/14, 11:25 AM

Its working. Thanks for helping.

Remya
on 4/11/14, 11:34 AM

Good news !

Med Said BARA
on 4/11/14, 2:06 PM

Your Answer

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 4/10/14, 8:24 AM
Seen: 1444 times
Last updated: 3/1/16, 4:56 AM