CLIENT,SERVER: improve language

- 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
This commit is contained in:
ced 2007-06-20 05:54:26 +00:00
parent fda5aae990
commit 733f718674
1 changed files with 1 additions and 1 deletions

View 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 {}