Add a new language
« on: December 30, 2023, 04:29:53 PM »
Welcome
How to add a new Arabic language? For example, there are two Arabic languages, the Syrian language is ar_SY
And the Egyptian Arabic language ar_EG
But I want to add the Algerian Arabic language and translate it, for example, ar_DZ, according to my local language

*

MB Themes

Re: Add a new language
« Reply #1 on: December 31, 2023, 09:11:07 AM »
In oc-content/languages
Copy ar_SY folder and save cooy as ar_DZ
Then go inside index.php and change all (2-3) occurrences of ar_SY to ar_DZ.
Function itself must be renamed as well!
Then go to mail.sql and do the same.
You can also update .po catalogs properties and use correct language name/des - this step is optional.

Do not forget to share with community once done - greatly appreciated by community!
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: Add a new language
« Reply #2 on: December 31, 2023, 02:52:33 PM »
Thank you. I added a new language and shared it with the Osclass community
I will update it and correct errors over time
« Last Edit: December 31, 2023, 09:06:59 PM by هشام سدير »

*

MB Themes

Re: Add a new language
« Reply #3 on: December 31, 2023, 09:29:28 PM »
Awesome  8)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots