we just installed FullFeatured RadEditor for MOSS and will start using it for out Intranet soon. We have also activated the Rad Spellchecker (AJAX-Version). Unfortunately I do not find the place to set the used dictionary.
For now the SpellChecker only checks English text. But it would be great to have the option to switch between the dictionaries within RadEditor before checking the RadEditor content (like the demo for RadEditor ASP shows).
Regards,
Robert Tullius
9 Answers, 1 is accepted
To enable multi-language spellchecking you should modify the ToolsFile.xml and ListToolsFile.xml files of RadEditor. Both files are located in the following folder:
\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\x.x.x.x__xxxxxxxxxxxxxxx\RadControls\Editor
You need to add the multi-language definition, along with the languages you need to appear in the dropdown:
<languages>
<language code="en-US" title="English"></language>
<language code="fr-FR" title="French"></language>
</languages>
You need also make sure that the en-US.tdf and fr-FR.tdf file exist in the
\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\x.x.x.x__xxxxxxxxxxxxxxx\RadControls\Spell\TDF folder.
Best regards,
Rumen
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
I have done these as described bellow for Greek language (el-GR.tdf).It shoes the Greek translation choice but when I click it a 500 error is shown in an alert dialog. Is there anything more I should configure?
<languages>
<!-- Adding a language instance -->
<langauge code="en-US" title="English" />
<langauge code="el-GR" title="Ελληνικά" />
</languages>
</root>
[quote]Rumen said:Hi Robert,
To enable multi-language spellchecking you should modify the ToolsFile.xml
and ListToolsFile.xml files of RadEditor. Both files are located in the following folder:
\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\x.x.x.x__xxxxxxxxxxxxxxx\RadControls\Editor
You need to add the multi-language
definition, along with the languages you need to appear in the dropdown:
<languages>
<language code="en-US" title="English"></language>
<language code="fr-FR" title="French"></language>
</languages>
You need also make sure that the en-US.tdf and fr-FR.tdf file exist in the
\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\x.x.x.x__xxxxxxxxxxxxxxx\RadControls\Spell\TDF folder.
Best regards,
Rumen
the Telerik team
Do you use RadEditor in SharePoint or this is a standard ASP.NET Web Forms application?
The steps you find provided in this thread applies for SharePoint.
The steps for a normal app are provided at https://docs.telerik.com/devtools/aspnet-ajax/controls/editor/functionality/spellchecker/overview, e.g.
<
telerik:RadEditor
RenderMode
=
"Lightweight"
runat
=
"server"
ID
=
"RadEditor1"
>
<
SpellCheckSettings
SpellCheckProvider
=
"EditDistanceProvider"
DictionaryLanguage
=
"el-GR"
/>
<
Content
>κάποοιο λάάθος κείμενκο</
Content
>
</
telerik:RadEditor
>
or if you need a spellcheck dropdown:
<
telerik:RadEditor
RenderMode
=
"Lightweight"
runat
=
"server"
ID
=
"RadEditor1"
>
<
SpellCheckSettings
SpellCheckProvider
=
"EditDistanceProvider"
/>
<
Languages
>
<
telerik:SpellCheckerLanguage
Code
=
"en-US"
Title
=
"English"
/>
<
telerik:SpellCheckerLanguage
Code
=
"el-GR"
Title
=
"Greek"
/>
</
Languages
>
<
Content
>κάποοιο λάάθος κείμενκο</
Content
>
</
telerik:RadEditor
>
where the dictionaries should be placed in the App_Data/RadSpell folder in the root of the app as shown in the attached screenshot I made for you.
Best Regards,
Rumen
Progress Telerik
Can you please send the whole error message that you get along with a screenshot?
What is sure is that the SpellCheckProvider should be set to EditDistanceProvider in the ConfigFile.xml file:
\Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresources\RadEditorSharePoint\x.x.x.x__1f131a624888eeed\Resources\ConfigFile.xml file:
<property name="SpellCheckProvider">EditDistanceProvider</property>
where x.x.x.x is the version of RadEditorSharePoint installed on your server.
You also need to copy the make sure that the en-US.tdf and el-GR files in the following folder:
\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\x.x.x.x__xxxxxxxxxxxxxxx\RadControls\Spell\TDF
and also configure the SpellChecker to use these languages in the ToolsFile.xml and ListToolsFile.xml files of RadEditor. Both files are located in the following folder:
\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\x.x.x.x__xxxxxxxxxxxxxxx\RadControls\Editor
You need to add the multi-language definition, along with the languages you need to appear in the dropdown:
<languages>
<language code="en-US" title="English"></language>
<language code="el-GR" title="Greek"></language>
</languages>
Regards,
Rumen
Progress Telerik
Regards,
Rumen
Progress Telerik