Tapatalk

Storage location of custom dictionaries

Storage location of custom dictionaries

232
Basic UserBasic User
232

    17:50 - Aug 17#1

    Hello everyone.

    I'm getting desperate here.
    I have installed UltraEdit on a new computer/notebook.

    So far so good, but:
    I have added a lot of words in the spell checker on the old computer stored in a custom dictionary (German: Wörterbuch).
    Where are they saved?
    I think I've already searched everything, but I can't find anything.
    I would of course like to transfer them instead of having to retype them.

    Greetings Frank
    (Translated with DeepL)
    Win11 (64bit) 23H2 - UE 2024.0.0.35 64bit

    6,685587
    Grand MasterGrand Master
    6,685587

      8:31 - Aug 18#2

      Windows Spell Checking API

      UltraEdit for Windows ≥ v25.00 and UEStudio ≥ v18.00 use on Windows 8.1 and newer Windows versions like Windows 10 or Windows 11 the Windows Spell Checking API.
      The Windows Spell Checking API is not available on Windows with a version lower than 8.1 like Windows 8 or Windows 7.

      The custom words are stored by the Windows Spell Checking API in the file default.dic in the language directories in the directory %APPDATA%\Microsoft\Spelling. This directory with all its language tag subdirectories and files can be copied from one PC to another PC. The language tags are something like en-US or de-DE.

      Aspell spell checker

      UltraEdit for Windows < v25.00 and UEStudio < v18.00 use on Windows 8.1 and newer Windows versions like Windows 10 or Windows 11 the GNU Aspell spell checker.
      UltraEdit for Windows ≥ v25.00 and < v28.10 and UEStudio ≥ v18.00  and < v21.10 use on Windows 7 and Windows 8 the GNU Aspell spell checker.
      There is no support for spell checking at all on Windows 7 and Windows 8 since UltraEdit for Windows v28.10 and UEStudio v21.10.

      The INI  file with fully qualified file name displayed at Advanced - Settings or Configuration - Application layout - Advanced contains the section [SpellChecker] with the setting DataDictDir=. This directory contains the Aspell files *.prepl (personal replaces) and *.pws (personal words). The Personal data directory can be configured at Advanced - Settings or Configuration - Spell checker - Dictionary directories.

      The Aspell *.pws file can be edited also in UltraEdit/UEStudio. Please note the number of words at the end of the first line in the *.pws file and the trailing space at end of the first line which must be kept on editing manually the personal words file in UE/UES. After copying and pasting words line by line into this file and sorting the lines with the words alphabetic with ignoring case (not necessary but recommended), move the caret to the end of the file which should be a new line, i. e. the last line of the file ends with a line termination. Look in the status bar on the line number. Subtract 2 from this line number and edit the number of words in first line with the result. Example: A personal words file with 100 words shows 102 as line number with caret at the end of the file at column 1. Keep the trailing space on first line!

      Other custom dictionary files

      Here are the locations of custom dictionary *.dic files of Microsoft Office applications (Excel, Outlook, PowerPoint, Word) for completeness:
      • %APPDATA%\Microsoft\Office\Office version number\hexadecimal number\Proofing\RoamingCustom.dic
      • %APPDATA%\Microsoft\UProof\*.dic
      Office version number can be 16.0 or 12.0 or something similar. hexadecimal number can be something like 37d53b5b.
      Two related Microsoft documentation pages:
      Mozilla Firefox stores words added to the custom dictionary in the text file: %APPDATA%\Mozilla\Firefox\Profiles\profile name\persdict.dat
      Best regards from an UC/UE/UES for Windows user from Austria

      232
      Basic UserBasic User
      232

        12:22 - Aug 18#3

        Hi Mofi,

        I already suspected that it would be you who would put me back on the right track.

        Thank you very much.
        The custom words are stored by the Windows Spell Checking API in the file default.dic in the language directories in the directory %APPDATA%\Microsoft\Spelling. This directory with all its subdirectories and files can be copied from one PC to another PC.
        This is exactly how the dictionaries can be moved without having to re-enter them.

        Greetings Frank
        (Translated with DeepL)
        Win11 (64bit) 23H2 - UE 2024.0.0.35 64bit

        1
        NewbieNewbie
        1

          16:55 - Nov 26#4

          Thanks for the information on where custom dictionaries are stored. On Windows 11, words I add to the custom dictionary go in …\Spelling\neutral\custom.dic, but the spell checker is reading from …\Spelling\en-US\custom.dic Is this a bug, or do I have a setting incorrect? I’m sure it’s not intended behavior that I merge the words from the neutral directory into the file in the en-US directory, but the neutral directory seems to be a “write only” location and words added there aren’t recognized as being spelled correctly after restarting UltraEdit. 

          6,685587
          Grand MasterGrand Master
          6,685587

            18:03 - Nov 26#5

            You are right. I could reproduce this issue with 64-bit English UltraEdit v2024.1.0.36. Please report this issue by email to UltraEdit support.

            I see the words as stored in %APPDATA%\Microsoft\Spelling\de-DE\default.dic on having selected in UltraEdit the dictionary de-DE in configuration. Selecting in configuration the dictionary en-US lists the words in %APPDATA%\Microsoft\Spelling\en-US\default.dic. When I use the Dictionary configuration window to add a word to the currently displayed words list, UltraEdit adds the word to %APPDATA%\Microsoft\Spelling\neutral\default.dic. That is wrong as that file is not read by UltraEdit on having selected either dictionary en-US or dictionary de-DE. The added word is no longer listed on selecting a different dictionary and re-selecting the former dictionary as the words in the neutral dictionary are not read in by UltraEdit. That is definitely a bug of the add/remove words to custom dictionary feature of UltraEdit.
            Best regards from an UC/UE/UES for Windows user from Austria