More in this section

Forums / Developing with Sitefinity / How do I toggle languages to other domain

How do I toggle languages to other domain

3 posts, 0 answered
  1. Roland
    Roland avatar
    12 posts
    07 Apr 2009
    21 Oct 2009
    Link to this post
    Hi there,

    I am in the process of creating a dual language sitefinity site.

    The site will have 1 language per domain.

    I have added the localization to the web.config that defines both domains and languages.

    How do I hook up my language toggle link/button?

    Can anyone help me or point me in the right direction?

  2. Mr. Plinko
    Mr. Plinko avatar
    13 posts
    16 Jul 2009
    22 Oct 2009
    Link to this post
    Are you creating the sites as domain aliases and using one sitefinity instance?

    Anyway, check out this forum post:

    Also, I found this webinar helpful (but it has the browser decide what language to localize to):
  3. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    22 Oct 2009
    Link to this post

    Generally the settings that you should have in your web.config file are as follows

    <localization autoSetClientLanguage="false" defaultProvider="Sitefinity" persistenceMode="DomainName" defaultCulture="en" allowSpecificCultures="True" cultures="en, es, fr, bg, nl, it, en-US, no">
                <clear /> 
                <add name="Sitefinity" type="Telerik.Localization.Data.DefaultProvider, Telerik.Localization.Data" connectionStringName="DefaultConnection" />
        <add key="" culture="en" />
        <add key="" culture="es" />

    Once you have specified your domain name in the culture mappings and set its culture the Language bar control will automatically handle the correct domain name. Then you can follow the suggestions from the previous post from Mr. Plinko

    All the best,
    Ivan Dimitrov
    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.
Register for webinar
3 posts, 0 answered