Spellcheck Dictionaries distribution method

Posted by: graham on 20 December 2017, 12:50 am EST

    • Post Options:
    • Link

    Posted 20 December 2017, 12:50 am EST

    What is the recommended method of distributing the dictionaries. As Files in Resources or as Files on the user’s Drive?

    Another question please, somewhat related. Why are there Dialog Languages available in Options when there are no corresponding Language Dictionaries?

    Enquiring minds need to know. Thank you.

    Graham.

  • Posted 20 December 2017, 3:16 am EST

    Hello Graham,

    Sharing the dictionary through Resources is beneficial when you want every detail to be specific to a project. However, this may increase your file size. To avoid the same, User Drive can be used if the source is a common place and it can be managed to share the dictionary for each user individually. Based on the mentioned points, you can use the method that suits you the best.

    As per the DialogLanguage chosen, the words in the SpellDialog are represented. This can refer to the localization of the existing options in the built-in spell dialog. This is not used for the spellings and hence, does not need a specific Language Dictionary for the same.

    Please refer the below mentioned documentation link for further details on

    this:

    http://help.grapecity.com/componentone/NetHelp/c1spellchecker/webframe.html#C1.Win.C1SpellChecker.4~C1.Win.C1SpellChecker.SpellOptions~DialogLanguage.html

    Let us know if you need further assistance. We’ll be happy to help you.

    Best Regards,

    Esha

  • Posted 17 January 2018, 11:16 am EST

    Esha,

    I don’t propose to be distributing any other application that will need to use the C1Spell Dictionaries. Therefore I propose to include them as File Resources in my Application.

    Now, my intention is to Read the HKEY_CURRENT_USER\Control Panel\International\LocaleName Key from the Registry and use that to select the Dictionary for the C1Spellcheck Control.

    Now, I have a DB Table with the Names of the Forms that have a C1Spellcheck Control and I propose to Load the User’s Locale Language into each Control.

    How do I go about that in VB.Net Code please?

    Regards, Graham.

  • Posted 18 January 2018, 7:20 am EST

    Hello Graham,

    We have attached a simple application where a single form containing C1SpellChecker control is used. Here, the LocaleName key has been fetched using CultureInfo.InstalledUICulture’s KeyboardLayoutID.

    However, you may only be able to set the DialogLanguage from the list of supported dialog languages.

    http://helpcentral.componentone.com/nethelp/c1spellchecker/C1.Win.C1SpellChecker.4~C1.Win.C1SpellChecker.DialogLanguage.html

    Please refer the below link explaining that if your application uses any dictionaries other than the built-in American English, then you need to deploy the dictionaries with the application:

    http://helpcentral.componentone.com/nethelp/c1spellchecker/webframe.html#spellcheckinginterna.html

    Let us know if this does not solve your query.

    Best Regards,

    Esha

    prj_SpellChecker.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels