The Localization of the new RadEditor "Prometheus" now works with resource files and not with XML files as before. This change was made as resources represent the standard ASP.NET 2.0 mechanism for doing this with extensive built-in support in Visual Studio. As a result, it is a much easier approach for the developer in creating or changing a localization. Another major advantage of this is it is also much easier to deploy and maintain.
The RadEditor "Prometheus" localization is contained in resource files .resx which are within the product dll. Please, note that only the English localization is built-in the control dll.
To create your own localizations for the editor, you need to create the App_Global Resources folder in the root of your web application and copy the English resx files. These files are:
and they can be downloaded from this forum sticky note.
After you have copied the resx files, you must duplicate each copy of these files and rename them using the syntax shown in the few examples below:
All resx file contain two columns: Name and Value as it is shown below:
||It is mandatory to set the ReservedResource string in the Name column of the RadEditor.Tools.<Language>.resx file. Without this string the resource files will not be recognized.|
Once you do that you can localize the strings in the Value column. You need to localize the strings in the Value column of your new resx files.
The next step is to set the Language property of RadEditor to the name of the <localization> string in the RadEditor.Tools.<language>.resx file:
Inline in the RadEditor's declaration:
<telerik:radeditor runat="server" ID="RadEditor1" Language="it-IT"></telerik:radeditor>
In the CodeBehind:
C#: RadEditor1.Language = "it-IT";
VB.NET: RadEditor1.Language = "it-IT"
||If you provide a new localization for RadEditor "Prometheus" which works properly, we will gladly reward you for your work.|