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:
-
Place Missing Dictionary Files:
- Ensure the files
en-common.rwsanden_US-wo_accents-only.rwsare placed in the directory:D:\Knova\Software\Platform\Server\Spell\dict. - Adjust the path if your Knova installation is in a different location.
- Ensure the files
-
Run Modified Wordlist Script:
- Use the modified "createwordlist.bat" file provided by the support team.
- Execute the script from the
Spelldirectory using command line or PowerShell.
-
Configure Aspell Application:
- Ensure the aspell application is run from the
Spelldirectory, notbin\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
- Ensure the aspell application is run from the
-
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.
Priyanka Bhotika
Comments