Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
 


  Sponsors  

Meet Our Sponsors

WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Language Packs ...  Register Tooltips
Previous Previous
 
Next Next
New Post 7/27/2007 6:09 PM
User is offline Alejandro Quiroga Alsina
85 posts
DNNCastellano.com
10th Ranked


Re: Changing Register Tooltips and Text Labels 
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.

Spanish Language Packs
Paquetes de Idioma en Español
English Language Packs
Commercial, Professional English
 
New Post 7/28/2007 12:50 AM
User is offline Sebastian Leupold
13704 posts
www.deutschnetnuke.de
1st Ranked












Re: Changing Register Tooltips and Text Labels 

 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.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 7/28/2007 5:40 PM
User is offline Alejandro Quiroga Alsina
85 posts
DNNCastellano.com
10th Ranked


Re: Changing Register Tooltips and Text Labels 
 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.


Spanish Language Packs
Paquetes de Idioma en Español
English Language Packs
Commercial, Professional English
 
New Post 8/1/2007 8:50 AM
User is offline Sebastian Leupold
13704 posts
www.deutschnetnuke.de
1st Ranked












Re: Changing Register Tooltips and Text Labels 

logged into Gemini: http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=5951


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 8/11/2007 2:39 AM
User is offline Vicenç Masanas
1389 posts
www.disgrafic.com
6th Ranked








Re: Changing Register Tooltips and Text Labels 

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 Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Language Packs ...  Register 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.

 


SSL Enabled and Amazingly FAST...
SSL enable your DNN web site with SSLRedirect, compress your DNN web site HTTP data flow by up to 75%-90% with HttpCompressionAgent, and monitor your DNN web site's performance with WebKeepAlive...
www.sanibellogic.com
Ultra Media Gallery & Video Gallery
The most popular photo gallery and video gallery module. with Flash interface.
www.bizmodules.net
WDK Solutions
Quality modules for the DotNetNuke community. Check out our 'wild' modules!
wdkns.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP