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

Forums / Developing with Sitefinity / localization - 2 domains for 2 languages

localization - 2 domains for 2 languages

6 posts, 0 answered
  1. Meister
    Meister avatar
    262 posts
    Registered:
    09 Nov 2007
    14 Jul 2009
    Link to this post
    Hi

    I want a multilingual site but it will be on the domain level, and not within the same domain:

    myEnglishsite.com
    myFrenchsite.com

    When you goto each domain, it will detect the the correct language, and not use a querystring or pathprefix
    i.e. instead of
    http://www.myEnglishsite.com/en/default.aspx
    it would be
    http://www.myEnglishsite.com/default.aspx/default.aspx
    and the same for the other language

    Is this possible? if so could you give me an idea please.
    thanks
  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    17 Jul 2009
    Link to this post
    Hello Quade,

    Fortunately, this is possible our of the box.

    You should use the following configuration:
    web.config:
    <localization defaultProvider="Sitefinity"  
     persistenceMode="DomainName"  
     defaultCulture="en" cultures="en, bg"
     <cultureMappings> 
       <add key="yourensite.com" culture="en" /> 
       <add key="bgsite.bg" culture="bg" /> 
     </cultureMappings> 
     ... 
    </localization> 

    Note the key and culture mappings. The key is holding your domain name corresponding to the value set in the culture property.

    Don't hesitate to contact us if you have other questions.


    Regards,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Meister
    Meister avatar
    262 posts
    Registered:
    09 Nov 2007
    17 Jul 2009
    Link to this post
    thanks thats great

    now i just need a way to have different page names

    thanks
  4. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    17 Jul 2009
    Link to this post
    Hello Quade,

    As I promised you, we have discussed it and will keep it in mind for the future releases.

    Greetings,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  5. Anton Mernov
    Anton Mernov avatar
    110 posts
    Registered:
    03 Dec 2008
    17 Sep 2009
    Link to this post
    Hi Georgi,

    If I have 2 multilingual domain names, does this means what I need 2 licences for Sitefinity?

    Thanks,
    Anton.
  6. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    17 Sep 2009
    Link to this post
    Hello Anton,

    Please contact our sales guys - you need only one license. They will give you a special Annex to our End User License Agreement which you will have to sign in order to receive a free license for the second domain.

    Greetings,
    Georgi
    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
6 posts, 0 answered