Selecting a language based on Domain Name?? RRS feed

  • Question

  • User-1588822110 posted


    I am in the final stages of finishing a multilingual website in .NET 2.0

    I am completely happy with everything I have done regarding localization and have the site working so that by clicking a flag in the site header the whole site then changes to that language and remembers the setting via a cookie (if they are enabled) for the persons next visit.

    However what I want to do is for the site to automatically select the correct language when someone visits the site by a specific localized domain name.

    For example, if a persons visits the site by typing in www.mydomainName.com I want the site to be in US, if they type www.mydomainName.de then I want it to default to German.

    I obviously have a default page that is always loaded regardless of domain pointer, I'm just not sure how to deal with the above depending on where the user comes from . Can anyone help me or suggest a better way to deal with it?, also does anyone have any experience with how other sites do this?



    Monday, January 30, 2006 6:04 AM

All replies