Start a conversation

Resolving "The system cannot find a dictionary for the requested language" Error in Knova

Overview

The error message "The system cannot find a dictionary for the requested language" occurs when attempting to use the spell check feature in Knova. This issue was identified as a configuration problem due to missing dictionary files and incorrect setup. The development team provided a fix, which involved updating the dictionary files and configurations to resolve the error.

Solution

Follow these steps to resolve the spell check error in Knova:

  1. Place Missing Dictionary Files:
    • Ensure the files en-common.rws and en_US-wo_accents-only.rws are placed in the directory: D:\Knova\Software\Platform\Server\Spell\dict.
    • Adjust the path if your Knova installation is in a different location.
  2. Run Modified Wordlist Script:
    • Use the modified "createwordlist.bat" file provided by the support team.
    • Execute the script from the Spell directory using command line or PowerShell.
  3. Configure Aspell Application:
    • Ensure the aspell application is run from the Spell directory, not bin\win2k.
    • Use the following command to run aspell with the correct parameters:
    • D:\Knova\Software\Platform\Server\Spell>echo "This is a testt" | bin\win2k\aspell.exe -a --lang=en_US --dict-dir=%CD%\dict --data-dir=%CD%\data
      D:\Knova\Software\Platform\Server\Spell>bin\win2k\aspell.exe -c LA_eng_US.dic --lang=en_US --dict-dir=%CD%\dict --data-dir=%CD%\data
  4. Verify Resolution:
    • Test the spell check feature in Knova to ensure the error is resolved.

Note: If issues persist, ensure all steps are followed correctly and contact support for further assistance.

Frequently Asked Questions

1. How do I know if this error applies to my situation?
You'll see the error message "The system cannot find a dictionary for the requested language" when attempting to use the spell check feature in Knova.
2. What should I do if the error persists after following the steps?
Ensure all dictionary files are correctly placed and configurations are set as instructed. If the issue continues, contact support for further assistance.
3. Can I use a different directory for the dictionary files?
Yes, but ensure the aspell application and configurations are updated to reflect the correct directory paths.
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments