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...Implications of Portal Default LanguageImplications of Portal Default Language
Previous
 
Next
New Post
10/12/2010 7:57 AM
 
In DNN 551, when you enable content localization, the portal default language is frozen irreversably. Fair enough. But what are the implications of no longer being able to change the default language?

AFAIK, the language displayed to the user is determined initially by the language preference of their browser, then controlled by the language selector. Fallback language chains are defined independently of the portal default language. Given the warning DNN gives when you are about to enable content localization, it appears that fixing the default language is significant. Anyone know why?


Paul Taylor
Dotcom Software Solutions Ltd
DotNetNuke, ASP.NET and SQL Server Development
 
New Post
10/12/2010 8:07 AM
 
portal default language is used:
  • For unauthenticated users, if browser language detection is switched off or does not result in an enabled language for the site,
  • Ditto during registration.
  • If CL is turned on, it is primary language for all pages, i.e. EVERY content needs to be entered in this language first, before it can be replicated to pages in other languages. There is no flexibility in the core localization workflow as with 3rd party solutions from Locopon, Apollo or EALO.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/12/2010 8:28 AM
 
Thanks Sebastian, helpful answer.


Paul Taylor
Dotcom Software Solutions Ltd
DotNetNuke, ASP.NET and SQL Server Development
 
New Post
10/12/2010 12:24 PM
 
I'm doing some testing around localization to try to understand it better, but am getting some unexpected results, which I hope someone can explain to me.

I have a site with content localization enabled, with two languages: English (GB) as default, and Spanish (ES). The site is configured to detect browser language preference. The site has one page with one (HTML) module. I have translated the page and module content into Spanish, and have published the page. All users can view the page. My browser (FireFox) has en-GB set as it's preferred language. The site skin is the Minimum Extropy default.

Now, while I am still logged on (as a host admin), the language selector is displayed, and I can use it to switch between the two different versions of the page content. However, the static content remains stubbornly in English. I know this "feature" was "by design" in v5.5.0, but I was hoping that by 5.5.1 that design decision would have been reversed so that the whole page, static and dynamic would display in the same language.

However, leaving that aside for the moment, I wanted to find out what determined the language of the static content. I understood it to be the browser language preference while the user is logged in. So I changed my browser language preference to Spanish (Spain). But, the static parts of the page still remained in en-GB.

Finally, if I log off, I would expect to see the page displayed initially according to the browser language settings, and to have the ability to switch between languages using the language selector. Not the case. When I log off, the page is displayed in Spanish, there no language selector. The page is displayed in Spanish even if I change my browser language preference back to English.

Some questions to sum up:
  • what's the rationale behind not switching the static content language with the language selector? Is there one?
  • for a logged on user, what controls the language of static content? Surely it's not the site default language, as it appears. Clearly not all logged on users are going to have the same language preference
  • what has happened to the language selector for an unauthenticated user?
  • if browser language preference doesn't determine the display language for an unauthenticated user, what does?


Paul Taylor
Dotcom Software Solutions Ltd
DotNetNuke, ASP.NET and SQL Server Development
 
New Post
10/12/2010 12:40 PM
 
Finally, I tried turning browser language detection off for the site. Then the site *does* respond to the browser language preferences. This has to be a bug, it's a straight inversion of what is supposed to happen. However, note that only the dynamic content of the page responds to the browser language preference. The static content remains as stubbornly as ever in the default language for the portal.


Paul Taylor
Dotcom Software Solutions Ltd
DotNetNuke, ASP.NET and SQL Server Development
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Implications of Portal Default LanguageImplications of Portal Default Language


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