CLIENT,SERVER: improve language
authorced <>
Wed, 20 Jun 2007 05:54:26 +0000 (05:54 +0000)
committerced <>
Wed, 20 Jun 2007 05:54:26 +0000 (05:54 +0000)
- use lang of the context for the language of the client and store it in the .terprc
- change en_EN in en_US which is the standard

bzr revid: ced-db0f2cdf1bd1bd43f2d82660ccec9fd841f9b292

addons/base_setup/wizard/wizard_base_setup.py

index ed51c50..4abb18c 100644 (file)
@@ -218,7 +218,7 @@ class wizard_base_setup(wizard.interface):
                lang_ids=lang_obj.search(cr, uid, [])
                langs=lang_obj.browse(cr, uid, lang_ids)
                for lang in langs:
-                       if lang.code and lang.code != 'en_EN':
+                       if lang.code and lang.code != 'en_US':
                                filename=os.path.join(tools.config["root_path"], "i18n", lang.code + ".csv")
                                tools.trans_load(cr.dbname, filename, lang.code)
                return {}