Commit 136a43ff authored by Jérome Perrin's avatar Jérome Perrin

xhtml_style: persist language cookie

parent 4aa76869
......@@ -37,4 +37,4 @@ else:
if not select_language:
select_language = portal.Localizer.get_selected_language()
portal.Localizer.changeLanguage(select_language)
portal.Localizer.changeLanguage(select_language, expires=(DateTime() + 365).toZone('GMT').rfc822())
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