From 9582a8bc825891ff65eb387aa96a2b61201c69ab Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Wed, 24 Oct 2012 18:15:27 +0200 Subject: [PATCH] [FIX] res.lang: ar_AR does not exist (Arabic in Argentina?!) -> replaced with ar_SY ar_SY is the default locale alias for the `ar` code in babel, so we can use that until a translation team asks for a regional variation of Arabic. This should also fix an issue in the web client, where ar_AR was not working, because silently replaced with ar_SY. This will only work for new databases, old ones should be manually fixed. bzr revid: odo@openerp.com-20121024161527-vec2r46a4o5lk47x --- openerp/tools/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openerp/tools/misc.py b/openerp/tools/misc.py index ba6ea1137d1..caf28e54481 100644 --- a/openerp/tools/misc.py +++ b/openerp/tools/misc.py @@ -597,7 +597,7 @@ def get_iso_codes(lang): ALL_LANGUAGES = { 'ab_RU': u'Abkhazian / аҧсуа', - 'ar_AR': u'Arabic / الْعَرَبيّة', + 'ar_SY': u'Arabic / الْعَرَبيّة', 'bg_BG': u'Bulgarian / български език', 'bs_BS': u'Bosnian / bosanski jezik', 'ca_ES': u'Catalan / Català',