Commit 2db973e6 authored by Yusei Tahara's avatar Yusei Tahara

Fixed a mistake. Don't set to response.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23986 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fdbe1639
...@@ -71,7 +71,7 @@ accept_language_tag = accept_language.split(\';\')[0].split(\',\')[0]\n ...@@ -71,7 +71,7 @@ accept_language_tag = accept_language.split(\';\')[0].split(\',\')[0]\n
primary_language = accept_language_tag.split(\'-\')[0]\n primary_language = accept_language_tag.split(\'-\')[0]\n
if primary_language in configuration_language_list:\n if primary_language in configuration_language_list:\n
# Set language to REQUEST so that next page will use the correct language.\n # Set language to REQUEST so that next page will use the correct language.\n
REQUEST.RESPONSE.set(COOKIE_NAME, primary_language)\n REQUEST.set(COOKIE_NAME, primary_language)\n
return primary_language\n return primary_language\n
return \'en\'\n return \'en\'\n
</string> </value> </string> </value>
......
115 116
\ No newline at end of file \ No newline at end of file
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