Multicultural site switch culture version not working for kentico8

Girijesh Kumar asked on June 11, 2015 10:44


Multicultural site switch culture version not working although I have written following code in Global.asax file -

public void Application_AcquireRequestState(object sender, EventArgs e)

    if ((!(Request.QueryString["lang"] == null)) && Request.QueryString["lang"] != "")
        Session["CMSPreferredCulture"] = Request.QueryString["lang"];
        Response.Cookies["CMSPreferredCulture"].Value = Request.QueryString["lang"];

Recent Answers

Pedro Costa answered on August 12, 2015 19:03

Please note that if you use the Cookie Level web part, and it's not configured to accept basic cookies per default, the multilang switch won't work properly because it cannot set the CMSPreferredCulture cookie.

If you do use the Cookie Level, please make sure you accept the cookies before testing multilang page switches.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.