Hi,
I have modified ToolsFile.xml to enable a custom tool.
Any advice on how to localize the text of the tool?
Seems you have localized texts and unlocalized texts (or am I simply unable to find the localization of e.g. SPTemplateManager)
Best,
Nils
I have modified ToolsFile.xml to enable a custom tool.
Any advice on how to localize the text of the tool?
Seems you have localized texts and unlocalized texts (or am I simply unable to find the localization of e.g. SPTemplateManager)
Best,
Nils
5 Answers, 1 is accepted
0
Hi Nils,
If you want to localize the button text open the \Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresources\RadEditorSharePoint\6.x.x.0__1f131a624888eeed\Resources\ToolsFile.xml / ListToolsFile.xml file and change the text of the text attribute:
<tool name="SPTemplateManager" text="Insert Reusable Content" />
All the best,
Rumen
the Telerik team
If you want to localize the button text open the \Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresources\RadEditorSharePoint\6.x.x.0__1f131a624888eeed\Resources\ToolsFile.xml / ListToolsFile.xml file and change the text of the text attribute:
<tool name="SPTemplateManager" text="Insert Reusable Content" />
All the best,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Nils
Top achievements
Rank 1
answered on 25 Oct 2012, 12:49 PM
Hi Rumen,
thanks for answering.
So there is no way to have the text taken from a resource?
i.e. I wanted to do something like
Best,
Nils
thanks for answering.
So there is no way to have the text taken from a resource?
i.e. I wanted to do something like
<
tool
name
=
"SPTemplateManager"
text
=
"$Resource:TemplateManagerToolName, myTelerikCore"
/>
Best,
Nils
0
Accepted
Hi,
This syntax is not supported, but you can add the resx localization files of RadEditor in the \inetpub\wwwroot\wss\VirtualDirectories\80 folder, open the \Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresources\RadEditorSharePoint\6.3.0.0__1f131a624888eeed\Resources\App_GlobalResources\RadEditor.Tools.resx file and register the SPTemplateManager property in it with the desired localization text.
You can find more information in this article: Using Global Resource Files. You should also remove the text attribute from the SPTemplateManager tool tag in the toolsfile.
Kind regards,
Rumen
the Telerik team
This syntax is not supported, but you can add the resx localization files of RadEditor in the \inetpub\wwwroot\wss\VirtualDirectories\80 folder, open the \Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresources\RadEditorSharePoint\6.3.0.0__1f131a624888eeed\Resources\App_GlobalResources\RadEditor.Tools.resx file and register the SPTemplateManager property in it with the desired localization text.
You can find more information in this article: Using Global Resource Files. You should also remove the text attribute from the SPTemplateManager tool tag in the toolsfile.
Kind regards,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Nils
Top achievements
Rank 1
answered on 28 Nov 2012, 09:13 AM
However, for this approach I see three Implications (or I am having three further questions...):
1. RadEditor uses it's own language-setting and ignores the language of the current SPWeb?
2. I need to copy & modify the orgininal RadEditor.Tools.resx, no way to supply additional values?
3. This is a per-webApplication modification. No way to do this on a SiteCollection?
Best,
Nils
1. RadEditor uses it's own language-setting and ignores the language of the current SPWeb?
2. I need to copy & modify the orgininal RadEditor.Tools.resx, no way to supply additional values?
3. This is a per-webApplication modification. No way to do this on a SiteCollection?
Best,
Nils
0
Hello Nils,
1) Yes, the RadEditor ignores the language of the current SPWeb and its localization can be set only through its Language property.
2) You can add additional values in the RadEditor.Tools.resx only for custom tools.
3) Using the solution provided in this help article Different configuration files for different webs, you can set the LocalizationPath property in such a global config file to point to a common localization folder for the whole SiteCollection.
All the best,
Rumen
the Telerik team
1) Yes, the RadEditor ignores the language of the current SPWeb and its localization can be set only through its Language property.
2) You can add additional values in the RadEditor.Tools.resx only for custom tools.
3) Using the solution provided in this help article Different configuration files for different webs, you can set the LocalizationPath property in such a global config file to point to a common localization folder for the whole SiteCollection.
All the best,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.