Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Alt languages not displaying without homepage re-load?Alt languages not displaying without homepage re-load?
Previous
 
Next
New Post
5/2/2011 3:54 PM
 
We have a site built (DNN 5.6.2) that has translations into many (15+) other languages. This was all done with the built-in DNN tools. The English site was built, content localization enabled, all the other languages added, and then translations for each language was added. All versions of the site are identical except for the obvious translation differences.

The issue is that, during initial testing while adding the translated text, we could force the browser into another language mode and it displayed properly and without issue, allowing us to do some basic testing. During final testing, however, we're using machines with Windows installations running natively in other languages to better approximate someone's setup in another country. The language detection and display is behaving strangely in this case:

- browser cache is cleared, browser is closed
- browser is opened, homepage is input into the browser (domainname.com/dnn)
- homepage displays in English
- browser refresh/reload button is pressed
- homepage is displayed in the desired native language

This happens across most major browsers. Why doesn't DNN display in the correct alternate language the first time the homepage is entered? The OS and browser should be set to native Spanish or German versions, for example, by virtue of running German Windows. DNN browser language detection is enabled. The system and site default are US-en.

Ideas or suggestions? With so much time spent inputting 15+ languages of content across the entire site and the initial tests with manually specifying browser language working properly, it's very frustrating that the final tests are not behaving as expected.
 
New Post
5/3/2011 4:55 AM
 
AFAIK this has nothing to do with server language but might be an issue with browser language detection, e.g. by not clearing site cookies after switching language.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/3/2011 11:09 AM
 
Thanks, but it doesn't seem to be a cookie issue. Not only are we clearing cache and cookies between attempts, but I just tried on a totally new OS build that's never gone to this website before and it still displays the issue.

Homepage in IE (msn.com) immediately comes up in the foreign language, but the site we're testing then shows up in English. A reload of that page produces the desired foreign language.

Further thoughts?
 
New Post
5/3/2011 11:33 AM
 
Is there a chance this has something to do with the order in which DNN assigns the language cookie? I can specifically see a language cookie with the proper language code, but it only last for the session and only appears after I hit the homepage.

Is DNN displaying the text content first and *then* assigning the cookie? Hence, when reloading the page, the proper language comes up. Other sites (non-DNN) don't seem to work this way. MSN.com immediately showed up in another language.

Or am I off the mark here? Any potential fixes or workarounds to this?
 
New Post
5/6/2011 4:36 PM
 
Anyone have further thoughts on this? It's a major problem for the site we're building.

How does DNN do its browser detection? Shouldn't it happen as soon as the page is hit before content is displayed?
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Alt languages not displaying without homepage re-load?Alt languages not displaying without homepage re-load?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out