Setting language of spell checker

4 posts, 0 answers
  1. Donna
    Donna avatar
    8 posts
    Member since:
    Dec 2008

    Posted 12 Feb 2009 Link to this post

    Is there anyway to configure the spell-checker to default to UK-English rather than US_English?
  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 17 Feb 2009 Link to this post

    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.

  3. Donna
    Donna avatar
    8 posts
    Member since:
    Dec 2008

    Posted 17 Feb 2009 Link to this post

    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...?

  4. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 20 Feb 2009 Link to this post

    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.
Back to Top