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...Adding modules to a localized pageAdding modules to a localized page
Previous
 
Next
New Post
5/23/2012 3:54 AM
 

Here's my situation:

Website with two languages, containing a webpage that's already localized (by the button 'ready for translation'.)
In the webpage there's a HTML-module and a Document-module. The Document-module works perfectly, when I add a new document, it's available in both languages. And with the HTML-module I can give an introduction in both languages.

But now I want to add another download-section, thus another HTML- and Document-module. Both should be localized as well, I don't want two different modules in each language. (Double maintenance)

Question 1: What's the correct procedure for this?
My guess would be that after I've added both modules to the default language, I should press the "Ready for translation"-button again.

Question 2: What's going wrong when my solution mentioned above is correct?
When I click "Ready for translation" I get a JavaScript-error. And nothing happens, so the modules don't appear on the second language-page.

InnerException: Sequence contains more than one element
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Linq.Enumerable.SingleOrDefault
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Sequence contains more than one element ---> System.InvalidOperationException: Sequence contains more than one element at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source) at DotNetNuke.Entities.Modules.ModuleController.AddModulePermission(ModuleInfo& objModule, Int32 portalId, String roleName, PermissionInfo permission, String permissionKey) at DotNetNuke.Entities.Modules.ModuleController.LocalizeModuleInternal(ModuleInfo sourceModule) at DotNetNuke.Entities.Modules.ModuleController.LocalizeModule(ModuleInfo sourceModule, Locale locale) at DotNetNuke.Modules.Admin.Tabs.ManageTabs.readyForTranslationButton_Click(Object sender, EventArgs e) at DotNetNuke.UI.WebControls.CommandButton.OnButtonClick(EventArgs e) at DotNetNuke.UI.WebControls.CommandButton.RaiseClick(Object sender, EventArgs e) at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
 

 

 
New Post
5/27/2012 5:05 AM
 

Joost,

This is maybe to do with the know bug when you you use "Display on all pages" in the module settings.

You may use CLTools module to fix it: http://dnncltools.codeplex.com/

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Adding modules to a localized pageAdding modules to a localized page


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