You are here:   Blog
Register   |  Login

Search in Blog

SnowCovered Ads

nov 3

Written by: AL
03/11/2010 14.18  RssIcon

The default DotNetNuke installation give us a full-featured RadEditor, which we can customize modifying our configuration files as described in the wiki. Its Ajax Spell-Checker is enabled by default, but only has a dictionary for english-US. However, it is very simple to add more dictionaries: let’s see how.

1. Modify web.config

Add the following line to your web.config, under the httphandlers section:

<add verb="*" validate="false" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI"/>

 

2. Add dictionaries

Download dictionary files and install in DNNROOT\App_Data\RadSpell.

Here’s my App_Data\RadSpell folder content after installing the italian dictionary (the .txt file is generated if you add custom terms to the dictionary):

image

You can find dictionary files in this post at Telerik website.

 

3. Modify RadEditor configuration

Edit your RadEditor’s toolsfile configuration (the default is DNNROOT\Providers\HtmlEditorProviders\Telerik\Config\ToolsDefault.xml), adding a languages element and putting your desired dictionaries under it:

<languages>
<language code="en-US" title="English">language>
<language code="it-IT" title="Italiano">language>
languages>

In this example I enabled spell-checking for two dictionaries, the default en-US and italian. Use your language code to fill the code attribute, and any text for the title (which will appear in editor).

 

4. Use new dictionaries

And here’s the result: when you click the spell-check button image, you now get a dropdown list to choose the language.

radeditorspellcheck

Tags: DotNetNuke
Categories:

1 comment(s) so far...


Gravatar

R: How to enable multiple spell-check dictionaries with Telerik RadEditor

Many thanks for this tip! Grazie mille :-)

By Roli on   14/12/2010 23.52

Your name:
Gravatar Preview
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Add Comment   Cancel