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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumForum controls localizationForum controls localization
Previous
 
Next
New Post
7/5/2005 5:38 AM
 

I can't localize the forum controls (e.g. Header), adding resourcekey property to Header control (e.g. ) cause exception. (Unhandled error loading module). Anyone meets the same problem?

 
New Post
7/5/2005 11:21 PM
 

To my knowledge all headers are currently localizable.  Please post exactly where you cannot do this.

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
7/8/2005 1:50 AM
 

In some .ascx files (e.g. Forum_Settings.ascx) there's a control named ctlHeader (of type DotNetNuke.Modules.Forum.WebControls.Header) which has a property named title. I think this is localizable but I can't do that even I had added ctlHeader.Text and ctlHeader.Title entry to the corresponding .resx file. I saw that ctlHeader doesn't have the "resourcekey" property but adding this property to ctlHeader cause an exception (Unhandled error loading module). Did I make a wrong modification? How can I localize this control?

 
New Post
7/8/2005 11:21 AM
 

I will have to double check, but I believe all header items use a .Header resource.

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
7/9/2005 5:09 AM
 

I found that there're also some places controls were double-localized. For example in the method RenderNavBar (line 376-410 file ForumThread.vb) the block

' This is the navbar based on module actions exposed by each "hosting" control (notice it is seperated from New Thread and Moderators button)
For Each Action As ModuleAction In ForumControl.NavigatorActions
    RenderLinkButton(wr, Action.Url, ForumControl.LocalizedText(Action.Title), "Forum_NavBarButton")
    wr.Write(" ")
Next

I think this is double-localized since the title was already localized in property ModuleActions (line 71-86 file Forum_Container.ascx.vb), the correct one should be

' This is the navbar based on module actions exposed by each "hosting" control (notice it is seperated from New Thread and Moderators button)
For Each Action As ModuleAction In ForumControl.NavigatorActions
    RenderLinkButton(wr, Action.Url, Action.Title, "Forum_NavBarButton")
    wr.Write(" ")
Next

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumForum controls localizationForum controls localization


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