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

Forums / Developing with Sitefinity / Default language not working

Default language not working

2 posts, 0 answered
  1. medo
    medo avatar
    9 posts
    Registered:
    22 Nov 2009
    14 Jan 2010
    Link to this post
    I have a multiple language site configured like this:
      <localization defaultProvider="Sitefinity" persistenceMode="PathPrefix" defaultCulture="nl" cultures="nl, en">
       <providers>
        <clear/>
        <add name="Sitefinity" type="Telerik.Localization.Data.DefaultProvider, Telerik.Localization.Data" connectionStringName="DefaultConnection"/>
       </providers>
      </localization>

     

     


    so default culture is nl.
    when i browse to "/" i get redirected to /en/Home.aspx

    Am I missing something? 

  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    14 Jan 2010
    Link to this post
    Hello medo,

    Thank you for using our services.

    Can you try to set this setting in order to prevent Sitefinity setting the UI culture based on browser settings:
    <localization defaultProvider="Sitefinity" persistenceMode="PathPrefix"  autoSetClientLanguage="false" defaultCulture="nl" cultures="nl, en">
      <providers>
       <clear/>
       <add name="Sitefinity" type="Telerik.Localization.Data.DefaultProvider, Telerik.Localization.Data" connectionStringName="DefaultConnection"/>
      </providers>
     </localization>

    Best wishes,
    Radoslav Georgiev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered