This is a migrated thread and some comments may be shown as answers.

Change the tooltip of the RadCloudUploadListItem - Close Button

3 Answers 17 Views
CloudUpload
This is a migrated thread and some comments may be shown as answers.
Chloe
Top achievements
Rank 2
Chloe asked on 20 Feb 2019, 02:46 PM

Hi,

I'm using the CloudUpload in my application, and I was wondering if there was anyway to update the tooltip language resource of the RadCloudUploadListItem Close Button (I joined a screenshot of the tooltip I'm talking about). I wasn't able to find it in the xaml style template.

Could someone help me with this issue?

Thank you,

3 Answers, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 25 Feb 2019, 10:48 AM
Hello Chloe,

Thank you for the attached picture.

In general the RadCloudUploadListItem Close Button is localized, so switching the culture of the application to one of the supported cultures will change the tooltip text. 

As an alternative approach, you can create a CustomLocalizationManager. The corresponding resource string for the tooltip text of the close button is: CloudUploadItem_Close. Here is how that would look like:
public class CustomLocalizationManager : LocalizationManager
    {
        public override string GetStringOverride(string key)
        {
            switch (key)
            {
                case "CloudUploadItem_Close":
                    return "Test";
 
            }
            return base.GetStringOverride(key);
        }
 
    }

Hope this helps. 

Regards,
Vladimir Stoyanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Chloe
Top achievements
Rank 2
answered on 16 Apr 2019, 04:33 PM

I'm glad to say it worked for the Close Button Tooltip. 

Now, I'm trying to figure out the name of the corresponding resource string for the following two tooltips: 

- "1 uploaded files"

- "1 invalid files"

 

Also, is there a way to quickly find the resource string name of any of the different components? 

Thank you, 

0
Vladimir Stoyanov
Telerik team
answered on 17 Apr 2019, 10:20 AM
Hello Chloe,

Thank you for the provided pictures. 

Here is the resource key of the "invalid files" string:

- "CloudUpload_InvalidFiles"

As for the "uploaded files" string, currently it is not localized. I have logged a new item in our feedback portal for this: CloudUpload: ToolTip over "UploadedIcon" border is not localized. I have also updated your telerik points for bringing this to our attention.

For future reference, the resource strings can also be found in the .resx files in the Core\Controls folder of the source code which can be downloaded from your Telerik account.

I hope you find this helpful.

Regards,
Vladimir Stoyanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
CloudUpload
Asked by
Chloe
Top achievements
Rank 2
Answers by
Vladimir Stoyanov
Telerik team
Chloe
Top achievements
Rank 2
Share this question
or