Hello, I know that DNN 3 is coming out and it supposed to handle multilanguage support better than the current DNN 2.x But since it has not come out yet and I have to implement this so... OK, I have a website that you can view in 2 languages - English and Chinese.
Let's say the Chinese is the main site and the English is like a duplicate of the Chinese site - eg http://www.mysite.com/english) Im thinking of putting a sort-of splash page that asks the user which language he wants to view. Now, instead of asking him to
choose each time he view the website, will I be able to auto-detect the user's preferred language and redirect him to the correct language page? For eg, if his preferred language is Chinese (and its variations) or his OS is a Chinese OS then he will be automatically
directed to the Chinese site and others I redirect him to the English site. If yes, how do I do that? Please help. Thank you.
Cookie are good, however keep in mind that if you solely rely on cookies for language switching, spiders won't be able to index your other languages.
For the splash screen, insted of asking your visitor to choose the language, you can pick it up from the browser and then give the user a way to switch to the other language(s) (a la Google)
Dim strLanguageCode As String = Page.Request.UserLanguages(0)
None
0 Points
36 Posts
Multilanguage - Can I auto-detects and redirect to correct language page?
Oct 28, 2004 03:34 AM|alw8871|LINK
None
0 Points
673 Posts
Re: Multilanguage - Can I auto-detects and redirect to correct language page?
Nov 02, 2004 08:52 PM|exptrade2000|LINK
None
0 Points
5 Posts
Re: Multilanguage - Can I auto-detects and redirect to correct language page?
Jul 25, 2006 06:21 AM|peppeddu|LINK
Cookie are good, however keep in mind that if you solely rely on cookies for language switching, spiders won't be able to index your other languages.
For the splash screen, insted of asking your visitor to choose the language, you can pick it up from the browser and then give the user a way to switch to the other language(s) (a la Google)
Hope this helpsGiuseppe