HomeHomeDotNetNuke Forg...DotNetNuke Forg...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 (DotNetNuke MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

 
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 (DotNetNuke MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

 
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.


Disgrafic.com
 
Previous
 
Next
HomeHomeDotNetNuke Forg...DotNetNuke Forg...Provider and Extension ForumsProvider and Extension ForumsLanguage PacksLanguage PacksRegister TooltipsRegister Tooltips


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Start  Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke (DNN) provides a suite of solutions that make designing, building and managing feature-rich sites and communities fast, easy and cost-effective. The DotNetNuke Platform CMS is the foundation for more than one million websites worldwide. DNN Social, our newest solution, enables businesses to create immersive, interactive communities. Thousands of organizations like True Value Hardware, Bose, Cornell University, Glacier Water, Dannon, Delphi, USAA, NASCAR, Northern Health and the City of Denver have leveraged DNN to deploy highly engaging business- critical websites. Our rapid growth in product sales and deployments resulted in DotNetNuke Corp. being named one of the fastest growing private companies in America by Inc. Magazine in 2011 and 2012.