New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ADD] base: add Arabic languge #28640
Conversation
May be better to add in master this csv will be loaded when someone upgrade |
Well as odoo finally works well with Arabic languages, it is the right time to have a proper Arabic language. |
7666ea5
to
224fda1
Compare
robodoo r+ |
224fda1
to
f900b70
Compare
f900b70
to
13c200d
Compare
@@ -1,8 +1,10 @@ | |||
"id","name","code","iso_code","direction","grouping","decimal_point","thousands_sep","date_format","time_format","translatable","week_start" | |||
"base.lang_en","English","en_US","en","Left-to-Right","[3,0]",".",",","%m/%d/%Y","%H:%M:%S","True","7" | |||
"base.lang_am_ET","Amharic / አምሃርኛ","am_ET","am_ET","Left-to-Right","[3,0]",".",",","%d/%m/%Y","%I:%M:%S","True","7" | |||
"base.lang_ar_SY","Arabic / الْعَرَبيّة","ar_SY","ar","Right-to-Left","[3,0]",".",",","%d %b, %Y","%I:%M:%S","True","6" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use ar_AA
(Arabic "Unitag") as a countryless ISO code for arabic :-)
Now that we have proper support for RTL language, add an Arabic language with code "ar" (while the only possiblity before was ar_SY). Use ar_AA code as Arabic unitag. In master, the ar_SY could be removed as no need to have both. Add Bengali language Fixes odoo#31165
13c200d
to
89dabeb
Compare
robodoo r+ |
Merged, thanks! |
odoo/odoo/addons/base/models/res_lang.py Line 52 in 491deeb
Actually works because loading of csv files update existing row before creating new one. |
Odoo only has
ar_SY
language but not a generic Arabic language.cc @odony to be sure it is a stable change