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...Login and Registration page mixing languagesLogin and Registration page mixing languages
Previous
 
Next
New Post
9/12/2015 12:32 PM
 

Hi, I have a 7.4.1 installation (updated from 7.3.4 where this same problem was happening, therefore the reason for the upgrade) with two languages: en-us (default and fallback language) and it-it.

A login and registration pages were created and configurated in site settings for each language, translated and published.

In those pages, in addition to the account login and registration (the latter self developed) modules, I am using the following skin objects: LOGIN, USER, LANGUAGE, BREADCRUMB, TEXT(used to show tabname). The pages also contain a Text/HTML module (whose content has been localized).

If I navigate to the registraton page (by clicking on the USER skin object) in one language (say it-IT) and change to the other (en-US) the registration module updates it's labels with the corresponding localized value (that is in English or in Italian accordingly), while all the other controls/modules always show values in Italian.

So the TEXT skin objecs shows the TabName of the Italian tab and not the one of the corresponding English tab (in debug I can see that ActiveTab is actually set to the Italian tab details even if the System.Threading.Thread.CurrentThread.CurrentCulture.Name is correctly set to the language select by the LANGUAGE skin object), or the BREADCRUMB skin object is correctly build but the links and the tabnames are referring to Italian and the Text/HTML shows the Italian localized content instead of the English one.

What is really worring is that this behaviour happers to be herratic, in fact after having updated to 7.4.1 everything seemed to work fine for a while (the registration page was shown in the correct language). Then suddenly it started to mix up languages (not having changed anything in the system or configuration).

I have noticed that if I remove the registration page from the site settings and navigate directly to that page from the url, the page is shown correctly (even the ActiveTab is set with the correct information).

The same situation applies to the login page.

All the other pages in the site work fine like a charm.

I am really frustrated by this behaviour and I have run out of ideas on how to tackle this problem (and I don't like the idea to solve the problem by creating to separate sites one in English and one in Italian).

Any suggestion is really welcome.

Thank you

Gaspare

 
New Post
9/12/2015 6:36 PM
 
An issue has been reported recently in this area and should be fixed for DNN 7.4.2

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/13/2015 2:56 AM
 
Hi Leupold,
thank you for your prompt reply.

May I ask a reference to the reported bug so I can follow it and verify that the bug it reports applies to my case?

Thank you
Gaspare
 
New Post
9/13/2015 4:38 AM
 

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/15/2015 12:09 AM
 
Hi Leupold,
I had a look in to the bug you suggested but it is not what it's happening to me.

To cut short a long story, I have 2 languages: English (which is also the default one) and Italian. It seems that the PortalSettings.PortalAlis.HTTPAlias is wrongly picked, returning the english one when italian is selected and the italian one when english is selected.

This affects, for example, the BREADCRUMB skin object.
If I select Italian for a page (let's say Page-IT) the breadcrumb links look like this: HOME (http://my.domain.com/en-us) > Page-IT (http://my.domain.com/it-it/Page-IT).
If I select English the home page url in the breadcrumb is http://my.domain.com/it-it while the url to the page is correct (http://my.domain.com/en-us/page-us).

If I manage to understand why the retrived alias is the wrong one, I should be able to fix all the problems in the page where english and italian content gets mixed up when a language is selected.

Thank you
Gaspare
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Login and Registration page mixing languagesLogin and Registration page mixing languages


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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out