summaryrefslogtreecommitdiff
path: root/bin/addons/base/module/module.py
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2010-12-03 17:09:07 +0100
committerOlivier Dony <odo@openerp.com>2010-12-03 17:09:07 +0100
commitc744e55ffce3302ce7f83d352a0ded2ae5976df5 (patch)
tree4edb01be69a89fb3e9f4e832310075868b4514d2 /bin/addons/base/module/module.py
parentc95efe799707befd8d8a9656969fa3c86c448020 (diff)
[ADD] base: support alphabet-specific languages as in Rosetta + enabled Serbian@Latin
bzr revid: odo@openerp.com-20101203160907-59ytzsl8ah2ebtxa
Diffstat (limited to 'bin/addons/base/module/module.py')
-rw-r--r--bin/addons/base/module/module.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/bin/addons/base/module/module.py b/bin/addons/base/module/module.py
index 27979bfb2cc..b3724f1e26d 100644
--- a/bin/addons/base/module/module.py
+++ b/bin/addons/base/module/module.py
@@ -488,8 +488,6 @@ class module(osv.osv):
# unable to find the module. we skip
continue
for lang in filter_lang:
- if len(lang) > 5:
- raise osv.except_osv(_('Error'), _('You Can Not Load Translation For language Due To Invalid Language/Country Code'))
iso_lang = tools.get_iso_codes(lang)
f = addons.get_module_resource(mod.name, 'i18n', iso_lang + '.po')
# Implementation notice: we must first search for the full name of