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...Provider and Extension ForumsProvider and Extension ForumsLanguage PacksLanguage PacksRegister TooltipsRegister Tooltips
Previous
 
Next
New Post
7/27/2007 9:09 PM
 
Hi Tikkune,

What I am saying is that if you have your site configured to use only one language, then you don't care if all Dnn's messages are "fixed". See, if you change any messages inside the "core" files, then you leave them as they were before, "fixed", but now saying what you want them to say. If, for example, you wanted your site in localized in spanish, then you would edit those "hard coded" tooltip messages (related to the register form) so that they say "Nombre de Usuario".

The problem arises only if you have more than one locale (language) installed. Because english, for good or bad, is the universal language on the Internet, and a tooltip saying "Usuario" to someone from, say, Japan, looks like Greek ;-)

There are several messages all over DNN that remain "hard coded". The tooltips on the register form are just some of them (most tooltips everywhere else can be localized through the standard resx edition).

To make a long answer short: No, you do not need to install an additional language pack in order to edit the core files. You may edit them as you wish since they are "independent" of all and any of the installed language packs.

Thank you for your other post, I will look into it.

Saludos,
Alejandro.
 
New Post
7/28/2007 3:50 AM
 

AlejandroQuiroga wrote
Tikkune, If you try to translate the TOOLTIP message that pops up on mouse hoover over the question mark on the left of each field in the Register Form... forget about it. Those strings are hard-coded and are not available for editing. At least using the Resx localization files.

this is not true, all tooltips of core framework and project modules are derived from resources and are localizable (I provide the German language packs since DNN 3.0). However, if you find a single key missing localization, please report into the public issue tracker at support.dotnetnuke.com.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/28/2007 8:40 PM
 
leupold wrote

 AlejandroQuiroga wrote
Tikkune, If you try to translate the TOOLTIP message that pops up on mouse hoover over the question mark on the left of each field in the Register Form... forget about it. Those strings are hard-coded and are not available for editing. At least using the Resx localization files.

this is not true, all tooltips of core framework and project modules are derived from resources and are localizable (I provide the German language packs since DNN 3.0). However, if you find a single key missing localization, please report into the public issue tracker at support.dotnetnuke.com.



Hi, leupold,

I am relatively new to DNN, so maybe I am wrong. I have posted that the tooltips of each field in the Register Form are fixed and not avilable as Resx resources for localization. Those are the only Tooltips I am referring to, as Tikkune asks specifically about them in this thread (the Register Form's Tooltips).

Unfortunately I did not clarify that all other tooltips are available for localization. Maybe that's what you mean by saying "not true".

If I am wrong about the Register Form's Tooltips, about them being "hard coded", please let me know how to localize them. I am very interested in doing that, since I have recently finished working on a complete spanish language pack (as you did with the German lang. pack), and I couldn't find where to change those strings. I am currently working with DNN v4.5.03.

Thank you for your help!

Saludos,
Alejandro.

PS: One more thing: I didn't know about where to report missing key's localization... I will report all the strings I found I could not localize. Thank you again.

 
New Post
8/1/2007 11:50 AM
 

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/11/2007 5:39 AM
 

The problem with the tooltips is that they were being added to the <a ..> tag using the name of the control, not the actual help text (in PropertyLabelControl.vb):

 Public Property Caption() As String
    Get
        Me.EnsureChildControls()
        Return lblLabel.Text
    End Get
    Set(ByVal Value As String)
        Me.EnsureChildControls()
        lblLabel.Text = Value
        cmdHelp.ToolTip = Value
    End Set
End Property

The solution is to comment this line and add the tooltip to the image in the same way the text is attached to the label and help text:

Public Property ResourceKey() As String
    Get
        Return _ResourceKey
    End Get
    Set(ByVal Value As String)
        _ResourceKey = Value

        Me.EnsureChildControls()

        'Localize the Label and the Help text
        lblHelp.Attributes("resourcekey") = _ResourceKey + ".Help"
        imgHelp.Attributes("resourcekey") = _ResourceKey + ".Help"
        lblLabel.Attributes("resourcekey") = _ResourceKey + ".Text"

    End Set
End Property

Give it a try if you have a moment. I've tested this and seems to solve the problem.


Vicenç Masanas
Banyoles, Girona - Spain

Disgrafic.com    PSD to DNN
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsLanguage PacksLanguage PacksRegister TooltipsRegister Tooltips


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