Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
module:slyedit [2019/05/29 15:06] – [SlyEdit] Removed information about 79-character message width limit, as that's no longer true for SlyEdit. nightfox | module:slyedit [2019/06/04 09:51] – [Spell checker and dictionaries] Included more information about dictionary filenames, including the language name and localizations and use of -supplemental in the filename nightfox |
---|
Also, the dictionary filenames will be parsed and the language name will be used in the menu of dictionaries in the user options - The user is able to enable/disable the configured dictionaries for their own use for the spell checker. | Also, the dictionary filenames will be parsed and the language name will be used in the menu of dictionaries in the user options - The user is able to enable/disable the configured dictionaries for their own use for the spell checker. |
| |
For the dictionaryFilenames option in SlyEdit.cfg, you can specify a comma-separated list of dictionary filenames. The dictionary filenames are in the format dictionary_<languageName>.txt, where <language> is the language name. In this list, the filenames can be in that format, or just <languageName>.txt, or just <languageName>. You can leave the setting blank to use all dictionary files that exist on the system. | For the dictionaryFilenames option in SlyEdit.cfg, you can specify a comma-separated list of dictionary filenames. The dictionary filenames are in the format dictionary_<languageName>.txt, where <language> is the language name. In this list, the filenames can be in that format, or just <languageName>.txt, or just <languageName>. You can leave the setting blank to use all dictionary files that exist on the system. Language names are meant to be in ISO standard language and localization tags - For example, en-US specifies English with spellings for the US. Also, for dictionaries with localized spellings, the filenames can have a "-supplemental" at the end of their name before the extension if they only contain words that are unique to a particular region that don't exist for all regions. Also, dictionary filenames can just contain the language without a localization if they contain words common to all regions. |
| For example: |
| ^ Filename ^ Description ^ |
| | dictionary_en.txt | General English dictionary with spellings common to all regions | |
| | dictionary_en-US-supplemental.txt | English word spellings only specific to the US | |
| | dictionary_en-US.txt | Full English US dictionary | |
| |
SlyEdit will search for the dictionary files in the following directories, in this order: | SlyEdit will search for the dictionary files in the following directories, in this order: |