Spellchecker using EN-GB dictionary

3 posts, 0 answers
  1. PDS
    PDS avatar
    6 posts
    Member since:
    Mar 2011

    Posted 22 May 2014 Link to this post


    We're using spellchecking on a RadRichTextBox using an English / British dictionary. Based on the examples I've seen I'm under the impression that it should be enough to add the dictionary to the spellchecker associated with with RadRichTextBox.

    However whenever the user is typing in these controls it uses the EN-US dictionary rather than the EN-GB one. The only way to get the RichTextBox to use the EN-GB dictionary is to set the spellchecker explicitely, ie:

    richTextBox.SpellChecker = ControlSpellCheckersManager.GetControlSpellChecker(typeof(RadRichTextBox)).SpellChecker;

    Is this intended to work this way ?

  2. Petya
    Petya avatar
    990 posts

    Posted 23 May 2014 Link to this post


    I'm afraid I am having a hard time understanding your setup and the issue you are facing.

    The internalization feature provided by RadRichTextBox's spellchecking functionality depends on the current culture, i.e. in order to make sure the added by you English / British dictionary is used you can specify the current culture:
    Thread.CurrentThread.CurrentCulture = new CultureInfo("en-GB");

    Alternatively you can specify the spellchecking culture of a specific control spell checker like this:
    ((DocumentSpellChecker)this.radRichTextBox.SpellChecker).SpellCheckingCulture = new CultureInfo("en-GB");

    Please let me know if I misunderstood you or you need further assistance.

    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
  3. V vls
    V vls avatar
    1 posts
    Member since:
    Feb 2010

    Posted 13 Aug 2017 Link to this post

    Hi, please use a spellchecker to check spelling, but when you add a dictionary (about 600 thousand words), the component is very slow, is there another possibility to add Russian dictionary?
Back to Top