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

Setting language of spell checker

3 Answers 103 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Donna
Top achievements
Rank 1
Donna asked on 12 Feb 2009, 02:54 PM
Is there anyway to configure the spell-checker to default to UK-English rather than US_English?

3 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 17 Feb 2009, 08:48 AM
Hello Donna,

To enable the AjaxSpellCheck tool, you need to modify the ToolsFile.xml which is located in the following folder:
/Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/4.5.4.0__1f131a624888eeed/RadControls/Editor/
and add the following tool:
<tool name="AjaxSpellCheck"/> 

To enable the AjaxSpellCheck tool in List (Wiki) scenario, open the ListToolsFile.xml file and add the following tag:
<tool name="AjaxSpellCheck"/> 


In order to specify which language you want to use you need to add the following line to the respective Tools file.
For example:
<languages> 
    <language code="de-DE" title="German"></language>        
</languages> 

for German.

I hope this helps.





Greetings,
Stanimir
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Donna
Top achievements
Rank 1
answered on 17 Feb 2009, 09:46 AM
Thanks, 2 further questions

1) when adding the <languages> node is it a child of the AjaxSpellCheck <tool> node or at the same level
ie is it
a) <tool name="AjaxSpellCheck">
        <languages>
            <language code="de-DE" title="German"></language>
        </languages>
    </tool>

or b)
<tool name="AjaxSpellCheck"/>
<languages>
    <language code="de-DE" title="German"></language>
</languages>

2) I've seen under the Spell/TDF directory there are dictionaries for de-DE, en-US, fr-FR which all suggests to me I only have the capabilities of setting the spell checker to check against German, French or US english dictionaries and so if I change the toolsfile.xml as described above to en-UK it won't work... Is there any way I can add/ you can provide an en-UK dictionary...?

0
Stanimir
Telerik team
answered on 20 Feb 2009, 08:35 AM
Hello Donna,

1. You should add the following code as child of the <root> element.
 <languages>
     <language code="de-DE" title="German"></language>
 </languages>

2. You can find information on how to create new dictionaries in the following help article http://www.telerik.com/help/aspnet-ajax/editor-create-new-dictionary.html

I hope this helps.


Best wishes,
Stanimir
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
WebParts for SharePoint
Asked by
Donna
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Donna
Top achievements
Rank 1
Share this question
or