Follow

Add new dictionary to Déjà Vu X3

Hunspell, the company that provides the spell checker dictionaries used by Déjà Vu X3 also sells dictionaries for other languages. If you already have one of these, you can add it to Déjà Vu X3. You can also add a custom dictionary, which is a dictionary you yourself create.

Warning: The procedures described in this article will involve modifying the Windows Registry manually. Doing this incorrectly could result in your computer becoming unstable. Therefore, if you are not confident in your ability to do this safely, you should not proceed.

Hunspell dictionaries added by you

Requirements

In order to add your Hunspell dictionary to Déjà Vu X3 you will need to have several things ready:

  • You will need to modify the Windows Registry manually. To do this, you use the registry editor.
  • You should have the .aff and .dic files that correspond to that dictionary located. If you do not have these files, you do not have the components necessary to make the dictionary work in Déjà Vu X3.
  • You should know the Language Abbreviation and Language Code Identifier (LCID) of the language as well.

How to add the dictionary

Once you have the files and information you need, you can add the dictionary. Click on the option that corresponds to the version of Windows you are using:

Windows XP 32-bit editions of Windows Vista, 7, 8 or 8.1 64-bit editions of Windows Vista, 7, 8 or 8.1
     
  1. Create a new folder with the following name (where LCID is the LCID of the dictionary's language): C:\Program Files\ATRIL\Deja Vu X3\Spelling\LCID
  2. Copy the dictionary's .dic and .aff files into the folder you just created.
  3. Create a new folder with the following name (where LCID is the LCID of the dictionary's language): C:\Documents and Settings\All Users\Application Data\ATRIL\Déjà Vu X3\Spelling\LCID
  4. Create a new registry key (a node, not a value): KEY_LOCAL_MACHINE\SOFTWARE\ATRIL\Déjà Vu X3\LCID
  5. In this new key, add the following string (REG_SZ) values (where Language_Abbreviation stands for the Language Abbreviation of the dictionary you want to add):
    1. CustomDictionaries = C:\Documents and Settings\All Users\Application Data\ATRIL\Déjà Vu X3\Spelling\LCID\custom.dic
    2. LastSelectedCustomDictionary = C:\Documents and Settings\All Users\Application Data\ATRIL\Déjà Vu X3\Spelling\LCID\custom.dic
    3. MainAffixFile = C:\Program Files\ATRIL\Deja Vu X3\Spelling\LCID\Language_Abbreviation.aff
    4. MainDictionary = C:\Program Files\ATRIL\Deja Vu X3\Spelling\LCID\Language_Abbreviation.dic
    5. SelectedCustomDictionaries = C:\Documents and Settings\All Users\Application Data\ATRIL\Déjà Vu X3\Spelling\LCID\custom.dic
  1. Create a new folder with the following name (where LCID is the LCID of the dictionary's language): C:\Program Files\ATRIL\Deja Vu X3\Spelling\LCID
  2. Copy the dictionary's .dic and .aff files into the folder you just created.
  3. Create a new folder with the following name (where LCID is the LCID of the dictionary's language): C:\ProgramData\ATRIL\Déjà Vu X3\Spelling\LCID
  4. Create a new registry key (a node, not a value): KEY_LOCAL_MACHINE\SOFTWARE\ATRIL\Déjà Vu X3\LCID
  5. In this new key, add the following string (REG_SZ) values (where Language_Abbreviation stands for the Language Abbreviation of the dictionary you want to add):
    1. CustomDictionaries = C:\ProgramData\ATRIL\Déjà Vu X3\Spelling\LCID\custom.dic
    2. LastSelectedCustomDictionary = C:\ProgramData\ATRIL\Déjà Vu X3\Spelling\LCID\custom.dic
    3. MainAffixFile = C:\Program Files\ATRIL\Deja Vu X3\Spelling\LCID\Language_Abbreviation.aff
    4. MainDictionary = C:\Program Files\ATRIL\Deja Vu X3\Spelling\LCID\Language_Abbreviation.dic
    5. SelectedCustomDictionaries = C:\ProgramData\ATRIL\Déjà Vu X3\Spelling\LCID\custom.dic
  1. Create a new folder with the following name (where LCID is the LCID of the dictionary's language): C:\Program Files (x86)\ATRIL\Deja Vu X3\Spelling\LCID
  2. Copy the dictionary's .dic and .aff files into the folder you just created.
  3. Create a new folder with the following name (where LCID is the LCID of the dictionary's language): C:\ProgramData\ATRIL\Déjà Vu X3\Spelling\LCID
  4. Create a new registry key (a node, not a value): HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ATRIL\Déjà Vu X3\LCID
  5. In this new key, add the following string (REG_SZ) values (where Language_Abbreviation stands for the Language Abbreviation of the dictionary you want to add):
    1. CustomDictionaries = C:\ProgramData\ATRIL\Déjà Vu X3\Spelling\LCID\custom.dic
    2. LastSelectedCustomDictionary = C:\ProgramData\ATRIL\Déjà Vu X3\Spelling\LCID\custom.dic
    3. MainAffixFile = C:\Program Files (x86)\ATRIL\Deja Vu X3\Spelling\LCID\Language_Abbreviation.aff
    4. MainDictionary = C:\Program Files (x86)\ATRIL\Deja Vu X3\Spelling\LCID\Language_Abbreviation.dic
    5. SelectedCustomDictionaries = C:\ProgramData\ATRIL\Déjà Vu X3\Spelling\LCID\custom.dic

Custom dictionaries

You can see what custom dictionaries are available in Déjà Vu X3 by accessing the Proofing tab in the Options dialog and clicking on Custom Dictionaries. In the interface you can modify the existing custom dictionaries, remove them or add new ones.

By default, there is one custom dictionary configured for each language that Déjà Vu X3 itself supports, which is called custom.dic. At first, is has no words. When you add a new word to it, a real file with the new word will be created on your computer in the appropriate folder for that language. E.g., if you add a new word to your custom dictionary for Afrikaans, a new custom.dic file will be created in the folder C:\ProgramData\ATRIL\Déjà Vu X3\Spelling\1078, and if you inspect it you will find that it contains the new word you have just added.

Create a new dictionary

To create a new custom dictionary, select the language for which you want to add a new dictionary and click on New. This will bring up a dialog to that will allow you to select where you want to store the new dictionary file, and to name it.

Specify a new name for the dictionary file and save to create the dictionary. 

NOTE: If language is not selected before clicking on new, the dictionary will be placed under “All languages”. This can be changed easily by clicking on the dictionary and changing the Dictionary Language to the desired one.

Add a dictionary

Select the language to which you want to add a dictionary and click on Add. This will bring up a dialog to locate and open the Dictionary file (.dic) you want to add.

Once the dictionary file is selected, click on Save and the dictionary file will be added to the selected language.

Edit a dictionary

Select the dictionary you wish to modify and click on Edit Word List.... A new window will appear:

Add a word to Dictionary

Type the new word you want to add in the New Word text box and then click on Add. The new word will then appear in the Dictionary text box.

Delete a word to Dictionary 

Select the word you wish to delete and click on Delete. The word will be removed from the list.

Click on Delete All to delete all the words in the dictionary.

When you are done editing the dictionary, click on OK to confirm the changed. Clicking on Cancel will cancel the changes you have made and leave the dictionary as it was.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk