Forums

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity 3.x: Developing with Sitefinity > localization - 2 domains for 2 languages

localization - 2 domains for 2 languages

  • Meister Intermediate avatar

    Posted on Jul 14, 2009 (permalink)

    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

    Reply

  • Georgi Georgi admin's avatar

    Posted on Jul 17, 2009 (permalink)

    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.

    Reply

  • Meister Intermediate avatar

    Posted on Jul 17, 2009 (permalink)

    thanks thats great

    now i just need a way to have different page names

    thanks

    Reply

  • Georgi Georgi admin's avatar

    Posted on Jul 17, 2009 (permalink)

    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.

    Reply

  • Posted on Sep 17, 2009 (permalink)

    Hi Georgi,

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

    Thanks,
    Anton.

    Reply

  • Georgi Georgi admin's avatar

    Posted on Sep 17, 2009 (permalink)

    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.

    Reply

  • Register for webinar
Skip Navigation LinksHome / Developer Network / Forums / Sitefinity 3.x: Developing with Sitefinity > localization - 2 domains for 2 languages