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...Localization has killed my site DNN 7.4.0Localization has killed my site DNN 7.4.0
Previous
 
Next
New Post
5/14/2015 7:37 AM
 
There shouldn't be a translated page to en-US (TabID 2101), that sounds like a bug or language misconfiguration.
This really Looks strange. Unfortunately, I have no clue, what happened.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/14/2015 9:05 AM
 

So should record 2101 not exist at all?

If you could give me some idea how the data SHOULD look, I could dive into the source code and try and work out what is going wrong.

 
New Post
5/14/2015 9:17 AM
 

it should look like

 

TabID TabOrder TabName CultureCode UniqueId DefaultLanguageGuid LocalizedVersionGuid TabPath
91 21 Locations en-US E254738B-CD45-4630-A3CC-A883E2C66EF5 21C11CBE-F512-4613-8E3D-245C41B5ED80 //Locations
2102 37 Locations (fr-FR) fr-FR 1646CA49-045E-4ECB-BDCD-45B10815FB56 E254738B-CD45-4630-A3CC-A883E2C66EF5 E406EC10-D659-4C74-A3D1-46C5E5A62042 //Locations (fr-FR)
             
 

 


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/15/2015 10:36 PM
 
I've done some experimenting and examined the source code. There is a problem somewhere, but I'm not 100% certain what it is.

If I add a new page to my site, and go to the Localization tab when doing this, and choose "Create Localized Versions of Page" then the new tab is created with a CultureCode set to "en-US" and an additional tab with culture code "fr-FR" is created. This is as expected.

If I add a new page to my site, and go to the Localization tab when doing this, and choose "Create Single Neutral Culture Page" then the new tab is created with a CultureCode set to NULL. If I then localise this page, two new tabs are created, one called "Page Name (en-US)" with a CultureCode of "en-US" and one called "Page Name (en-US) (fr-FR)" with a CultureCode of "fr-FR".

It seems as though localizing an existing neutral culture page causes the problem.

To test this, I created a neutral culture page, then went to the Tabs table and set its CultureCode to "en-US" manually. Then I did an iisreset and went into the page localization for that page. At this point it looked like a Current Culture Only page (with the fields for en-US processing) and I was able to "Add Missing Languages" successfully without creating the additional problem Tabs records.

The problem seems to be related to DotNetNuke.Entities.Tabs.TabController.AddMissingLanguages

When this is called from MakeTranslatable_Click, it's supposed to run TabController.Instance.LocalizeTab first of all (to localize the current tab), but for some reason this doesn't seem to be happening. So then AddMissingLanguages creates a localized copy of the current tab (the extra (en-US) copy) and then proceeds to create localized copies of THAT tab.

I can't step through the DNN source to verify this.


 


 
New Post
5/16/2015 7:44 AM
 

if your default language is "en-US", there should be no localized page for it be created. there seem to be an inconsistency in the languages list of your DNN.
A neutral page is not to be translated at all, it is for Admin pages and user profile.

There are known issues regarding localization in DNN 7.4.0, a number of it will be fixed in DNN 7.4.1, the fixes for all other known issues regading ML are scheduled for DNN 7.4.2


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Localization has killed my site DNN 7.4.0Localization has killed my site DNN 7.4.0


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