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...Module Control KeyModule Control Key
Previous
 
Next
New Post
10/16/2009 7:03 AM
 

Hi Sebastian,

I meant that i have used the modules you say, but I'm creating custom modules and can't retrieve the localised versions using the documentation, have you got this to work by creating a custom module? Thanks

 
New Post
11/6/2009 11:41 AM
 

 

In reply to Baatezu's post, thanks for the pointer. I've seen the code

If String.IsNullOrEmpty(controlTitle) AndAlso Not String.IsNullOrEmpty(controlKey) Then
                Dim reskey As String
                reskey = "ControlTitle_" + moduleControl.ModuleContext.Configuration.ModuleControl.ControlKey.ToLower + ".Text"

                Dim localizedvalue As String = Services.Localization.Localization.GetString(reskey, moduleControl.LocalResourceFile)
                If Not localizedvalue Is Nothing Then
                    controlTitle = localizedvalue
                End If
            End If

 

and if the control key has to be NULL in order for the title to be localised this will never work.  Not sure whether there is anyone from the DNN team who can let me know whether what I asked in the begining is possible?

Thanks

 

 

 

 
New Post
12/14/2009 9:07 PM
 

I've reported issues around this for DNN 5.2, and suggested a fix at

http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=11270&PROJID=23

Vote for it!

In the meantime, try out the fixes (requires recompiling DotNetNuke.dll), and feel free to suggest any improvements in the issue comments.

 
New Post
6/8/2010 5:26 AM
 
Hi,
I'm using DNN 5.4.2
I try to change module title in default view. I'm using ControlTitle_.Text as resourcekey but it doesn't work. I always get module name. For other module pages, ControlTitle_xxxxxx.Text is correct.
Did you fix this issue for 6 months ? I can't find the issue from the previous link about Gemini. I didn't try a third party modules but it must be possible from core now, did it ?
Thank you.
Etienne.
 
New Post
6/8/2010 5:32 AM
 
Haven't really fixed it but got around it ssing the following in the page_init

I check for the string incase there is no localisation within the resx files


Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init

Dim strTitle As String = Localization.GetString("ModuleTitle.Text", LocalResourceFile)

If Not String.IsNullOrEmpty(strTitle) Then

ModuleConfiguration.ModuleTitle = strTitle

End If

End Sub


add a new resx key and your ready to go.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Module Control KeyModule Control Key


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