Commit 288be519 authored by Jérome Perrin's avatar Jérome Perrin

web: no need initialize web site languages

This is something the webmaster will define.
Also, initialize available languages like this will select a random
default language, which the webmaster might not understand.
parent 7ac1453e
......@@ -6,6 +6,4 @@
context.setContainerLayout('erp5_web_layout')
context.setContentLayout('erp5_web_content_layout')
context.setLayoutConfigurationFormId('WebSection_viewDefaultThemeConfiguration')
language_list = context.Localizer.get_supported_languages()
context.setAvailableLanguageSet(language_list)
context.setStaticLanguageSelection(1)
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