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

Setting the AjaxSPellCheck dictionary

2 Answers 89 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Peter Livsey
Top achievements
Rank 1
Peter Livsey asked on 17 Jul 2008, 08:24 AM
Hi

We are using the RadEditor for Moss in our Sharepoint sites.  I've added the 'AjaxSpellCheck' to the toolsfile.xml for the site.  However, when the spellchecker is used it is using the en-us dictionary.  I have downloaded a en-GB dictionary that I found through a previous post although I'm not sure if it is the latest version.

I have copied the tdf file to this directory:
wpresources\RadEditorSharePoint\4.5.2.0__1f131a624888eeed\RadControls\Spell\TDF

I've also copied the en-US directory in the Localization folder and renamed it en-GB.

Where do I set the spellchecker to use the en-GB dictionary?  I've seen posts about giving multiple languages as a choice but we want the GB dictionary to be the only option.

This is the toolsfile that I am currently using incase it is just a property that needs setting:

Thanks
Peter

<root>
  <modules>
    <module name="RadEditorDomInspector" dockingZone="Module" enabled="true" visible="true" />
  </modules>
  <tools name="MossTools1" dockable="false">
    <tool name="Cut" shortcut="CTRL+X" />
    <tool name="Copy" shortcut="CTRL+C" />
    <tool name="Paste" shortcut="CTRL+V" />
    <tool separator="true" />
    <tool name="Undo" shortcut="CTRL+Z" />
    <tool name="Redo" shortcut="CTRL+Y" />
    <tool separator="true" />
    <tool name="MOSSLinkManager" shortcut="CTRL+K" />
    <tool name="Unlink" shortcut="CTRL+SHIFT+K" />
    <tool name="ImageManager" shortcut="CTRL+G" />
    <tool separator="true" />
    <tool name="FormatStripper" />
    <tool separator="true" />
    <tool name="AjaxSpellCheck"/>
    <tool name="FindAndReplace" shortcut="CTRL+F"/>
    <tool separator="true" />
  </tools>
  <tools name="MossTools2" dockable="false">
    <tool name="FormatBlock" />
    <tool separator="true" />
    <tool name="Bold" shortcut="CTRL+B" />
    <tool name="Superscript" />
    <tool name="Subscript" />
    <tool name="InsertOrderedList" />
    <tool name="InsertUnorderedList" />
    <tool separator="true" />
  </tools>
  <contextMenus>
    <contextMenu forElement="*">
      <tool name="Cut"/>
      <tool name="Copy"/>
      <tool name="Paste"/>
    </contextMenu>
  </contextMenus>
  <paragraphs>
    <paragraph name="&lt;h2>Heading 2&lt;/h2>" value="&lt;h2>" />
    <paragraph name="&lt;h3>Heading 3&lt;/h3>" value="&lt;h3>" />
    <paragraph name="&lt;p>Normal&lt;/p>" value="&lt;p>" />
  </paragraphs>
</root>

2 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 17 Jul 2008, 10:22 AM
Hi Peter,

Please review bellow how to achieve the desired behavior:
  1. Add the desired dictionary to the RadControls\Spell\TDF folder.
     
  2. Open the respective ConfigFile and set the SpellDictionaryLanguage property e.g.:
    <property name="SpellDictionaryLanguage">en-GB</property>

I hope this helps.

Best wishes, George

the Telerik team
Instantly find answers to your questions at the new Telerik Support Center

0
Peter Livsey
Top achievements
Rank 1
answered on 17 Jul 2008, 11:00 AM
Thanks a lot, that appears to have solved things.
Tags
WebParts for SharePoint
Asked by
Peter Livsey
Top achievements
Rank 1
Answers by
George
Telerik team
Peter Livsey
Top achievements
Rank 1
Share this question
or