November Happy Hour will be moved to Thursday December 5th.

Site URLs and languages

Vote:
 

Am I Wrong assuming that a site set up with several languages, say:

http://www.site.no/
http://www.site.se/
http://www.site.com/

will show the respective base URLs when switching language?

More accurately what I mean is if a user is visiting the site on www.site.no/help , but clicks the flag for switching to swedish language, he will be taken to www.site.se/help

The web.config file is set up with

<siteHosts>
  <add name=http://www.site.no/ language="no" />
  <add name=http://www.site.se/ language="sv" />
  <add name=http://www.site.com/ language="en" />
</siteHosts>

 The language switcher is created like this

languageLinks "<a href=\"" + UriSupport.AddLanguageSelection(CurrentPage.StaticLinkURL, languageBranch.LanguageID) +
                                     "\"><img src=\"/Images/flags/" + languageBranch.LanguageID +  ".gif\" border=\"0\" alt=\"" + LanguageManager.Instance.Translate("/templates/units/TopMenu/" + languageBranch.LanguageID) + "\" /></a></li>";

#28474
Mar 10, 2009 12:47
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.