Commit e579ee38 authored by Boxiang Sun's avatar Boxiang Sun

erp5_configurator_standard: Activate all available language after configuration

Then the user can select the prefered language in the ERP5JS UI
parent 5ef32f55
......@@ -90,6 +90,10 @@ for business_application_category_id, module_ids in module_business_application_
if module is not None:
module.edit(business_application = business_application_category_id)
# activate all available languages to allow user can select them in the ERP5JS UI
available_language_list = list(portal.Localizer.get_supported_languages())
portal.web_site_module.osoe_runner.edit(available_language_set = available_language_list)
print "Indexing translations"
portal.ERP5Site_updateTranslationTable()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment