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

changing default spellchecker

2 Answers 60 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Andrew Johns
Top achievements
Rank 1
Andrew Johns asked on 23 Aug 2010, 05:14 PM
I've tried changing the default spellchecker to use an en-GB dictionary I downloaded via another forum post on here, but I'm running into difficulty.

If I set the language property to "en-GB", I'd expect it to use the en-GB dictionary in app_data, but instead it still looks for the en-US dictionary instead.

If I add a languages block, either in the aspx, or in the toolsfile, or programmatically, and add "en-GB", "UK English" as a new spellcheck language, I get prompted to pick it when I click the spellcheck icon, as opposed to just defaulting to it as the only dictionary available, but at least this proves the new dictionary works.

What I want is for the UK english dictionary to be the default, and to spellcheck using it without asking for the user to choose a dictionary.  I'm almost tempted to edit the accompanying scripts to see if I can avoid this, but I hope I'm just doing it wrong.  Any ideas?

The other option is to just give up, and expect our users to pick it every time, but I'm sure they will complain about that.


2 Answers, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 23 Aug 2010, 05:35 PM
Hi Andrew,

Please, set the DictionaryLanguage property and this will solve the problem, e.g.

<telerik:RadEditor runat="server" id="RadEditor1">
    <SpellCheckSettings DictionaryLanguage="en-GB" /> </telerik:RadEditor>


Best regards,
Rumen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Andrew Johns
Top achievements
Rank 1
answered on 23 Aug 2010, 05:52 PM
Thanks! :)
Tags
Editor
Asked by
Andrew Johns
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Andrew Johns
Top achievements
Rank 1
Share this question
or