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

Localization

2 posts, 0 answered
  1. AirWeb
    AirWeb avatar
    8 posts
    Registered:
    16 Nov 2009
    31 Aug 2010
    Link to this post
    Hello,

    I am wondering if you can provide some insight into the localization settings within Sitefinity. 

    When a user navigates to our site, example.com/default.aspx, the page is served as is. If they are requesting the French version of this page, they navigate to example.com/fr/default.aspx. 

    Is there anyway to force /en/ to appear in the URL rewrite as the default localization for the first example? So when a user navigates to example.com/default.aspx, it will rewrite to example.com/en/default.aspx. We would like the culture that is currently set to always be present in the URL.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    01 Sep 2010
    Link to this post
    Hi AirWeb,

    You can force "en" to appear in the url by setting autoSetClientLanguage="true"

    sample

    <localization defaultProvider="Sitefinity" autoSetClientLanguage="true" persistenceMode="PathPrefix" defaultCulture="en" cultures="en, es, fr, de, bg, ar, pt, no, tr, cs, nl, sl" >


    All the best,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered