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

Language selection in Rad Spellchecker

9 Answers 103 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 14 Mar 2008, 03:07 PM
Hi,

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

Sort by
0
Rumen
Telerik team
answered on 14 Mar 2008, 03:54 PM
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

Instantly find answers to your questions at the new Telerik Support Center
0
Robert
Top achievements
Rank 1
answered on 17 Mar 2008, 08:50 AM
Thanks, it's working.
0
Robert
Top achievements
Rank 1
answered on 17 Mar 2008, 08:50 AM
Thanks, it's working.
0
Petros
Top achievements
Rank 1
answered on 03 Jun 2019, 10:44 AM

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

Instantly find answers to your questions at the new Telerik Support Center
[/quote]
0
Rumen
Telerik team
answered on 03 Jun 2019, 12:20 PM
Hi Petros,

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
 
Learn how the Telerik controls can be integrated in SharePoint 2007/2010 from this resource. To watch them in action, explore our online SharePoint 2010 and SharePoint 2007 demo sites.
0
Petros
Top achievements
Rank 1
answered on 03 Jun 2019, 12:25 PM
I use SharPoint radeditor and I am in the Edit form of a custom list/doc library
0
Rumen
Telerik team
answered on 03 Jun 2019, 12:40 PM
Thank you for the additional information, Petros.

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
 
Learn how the Telerik controls can be integrated in SharePoint 2007/2010 from this resource. To watch them in action, explore our online SharePoint 2010 and SharePoint 2007 demo sites.
0
Petros
Top achievements
Rank 1
answered on 03 Jun 2019, 12:54 PM
Thank you very much. I followed your guide and it worked.
0
Rumen
Telerik team
answered on 03 Jun 2019, 01:28 PM
You are welcome! I am glad that everything is fine now.

Regards,
Rumen
Progress Telerik
 
Learn how the Telerik controls can be integrated in SharePoint 2007/2010 from this resource. To watch them in action, explore our online SharePoint 2010 and SharePoint 2007 demo sites.
Tags
WebParts for SharePoint
Asked by
Robert
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Robert
Top achievements
Rank 1
Petros
Top achievements
Rank 1
Share this question
or