+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Localization problem

Localization problem

4 posts, 0 answered
  1. Paul
    Paul avatar
    176 posts
    Registered:
    18 Nov 2008
    25 Apr 2011
    Link to this post
    Hi!
    I have a problem with my site localization. I have two cultures on my site RU and EN. But when user with english OS comes to my site I want to show him not the english part of my site but the russian. How can I do this? Maybe there are some configuration property in which I can set this rule? Or how can I do this programmatically?
    Thank you. 
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    25 Apr 2011
    Link to this post
    Hello Paul,

    Under localization node of the web.config you should set "autoSetClientLanguage" to true - indicates whether the current language should be set automatically based on client browser settings if it has not been explicitly defined in the request.

    Greetings,
    Ivan Dimitrov
    the Telerik team

  3. Paul
    Paul avatar
    176 posts
    Registered:
    18 Nov 2008
    05 Dec 2011
    Link to this post
    Hi, Ivan!
    For a long time I didn't try to resolve my problem with localization. But about two days ago I came back to this problem. And I can't resolve It.
    I tried to set attribute "autoSetClientLanguage" to true and also I have made things which are described in this article: http://www.sitefinity.com/devnet/kb/sitefinity-3-x/changing-the-default-site-language.aspx
    But nothing helped me. Now on server if I open http://localhost I get russian version but if I open site on machine with english system language I get english version. And I need to fix It. Can you help me with this question? I need to set russian version to load always. How can I do this?
    Thank you.

  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    05 Dec 2011
    Link to this post
    Hello Paul,

    autoSetClientLanguage set to true will use users' language version if available. If the property is false you will server only the default language.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
4 posts, 0 answered