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

"No Records to Display" text and pagination text Not Localized

1 Answer 76 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Varun
Top achievements
Rank 1
Varun asked on 05 Feb 2016, 07:44 AM

Hey..

 We are using you Radeditor in our application with localization. But we see that there are 2 places where localizations are not handled:-

1. Click on hyperlink manager and then click on button next to URL then click on image selector and notice pagination text at bottom.

2. Click on hyperlink manager and then click on button next to URL click on documents. If there is no content in the folder it shows ""No Records to Display" in all languages. 

We need both these things localized. Please help me how to proceed.

 

Thanks in advance,

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 09 Feb 2016, 04:48 PM
H Varun,

The "No records string" on another side is not localized as it can be configured through the API of the FileExplorer control used for listing files and folders in the Editor's Document Manager.

The empty message of the Grid can be controlled through its NoMasterRecordsText property like follows:
RadFileExplorer1.Grid.MasterTableView.NoMasterRecordsText = "There are no files in this folder.";

The Page and Items strings in the pager of the file list  can be localized through the "Common_GridPagerText" item in the Editor.Dialogs.rescx localization file.

Optionally, you can also modify it directly through RadFileExplorer (I am giving you the default value of the string):
RadFileExplorer1.Localization.SetString("GridPagerText", "{4} Page <strong>{0}</strong> of <strong>{1}</strong>. Items <strong>{2}</strong> to <strong>{3}</strong> of <strong>{5}</strong>");

In order to apply the above described configuration(s) you will need to modify the External dialogs of the Editor following the approach described here. The dialog holding the RadFileExplorer's declaration is named FileBrowser.ascx.

As both of the suggested configurations has to be made on the server, you may find useful information on how to add server-side logic to the Editor's dialogs in the following KB article:
http://www.telerik.com/support/kb/aspnet-ajax/details/displaying-single-upload-control-in-the-filebrowser-upload-manager

Regards,
Vessy
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Editor
Asked by
Varun
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or