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

Some texts are hard to localize

2 Answers 78 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Tomasz M.Lipiński
Top achievements
Rank 1
Tomasz M.Lipiński asked on 27 Jan 2010, 11:46 AM
Hi,
I've created new copy of RadEditor.Dialogs.resx and renamed it as RadEditor.Dialogs.pl-PL.resx. This file is placed in "App_GlobalResources" folder of my WebApplication. Then I've replaced all texts connected with RadFileExplorer (I don't use RadEditor yet) with their Polish equivalences. The result of my work is:
- I had to explicitly set LocalizationPath of my file explorer ("~/App_GlobalResources"; while the documentation says that is it not neccessary in this case)
- I cannot find (in resx) some texts:
  • Copy (popup menu)
  • Close (closing X in dialogs)
  • Delete (the title of the deletion confirmation dialog)
  • No records to display (the grid with no files)

In the last case I've solved the problem by explicitly setting the localized text to: <fileExplorer>.Grid.MasterTableView.NoMasterRecordsText).

Is there any way to localize these texts?

Regards
Tomasz

 

2 Answers, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 01 Feb 2010, 10:49 AM
Hello Tomasz,

RadFileExplorer does not provide localization for the mentioned: Copy (popup menu), Close (closing X in dialogs), Delete (the title of the deletion confirmation dialog), "No records to display (the grid with no files)" texts and the only solution is to override the texts by using JavaScript as or server-side properties of the controls (such as RadFileExplorer1.Grid.MasterTableView.NoMasterRecordsText = "no text"). The RadWindow's localization can be done by using the approach described in this code library.
For the time being the "Delete" confirmation dialog's title, however, cannot be localized.

I hope this helps.

Sincerely yours,
Fiko
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Tomasz M.Lipiński
Top achievements
Rank 1
answered on 02 Feb 2010, 09:56 AM
Hi,

OK. I don't mark it as "answered" because I hope it will be fixed in some of the next upgrades.

Regards
Tomasz
Tags
FileExplorer
Asked by
Tomasz M.Lipiński
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Tomasz M.Lipiński
Top achievements
Rank 1
Share this question
or