Add or remove Hunspell dictionaries

Support for Hunspell dictionaries in InDesign expands language options for spell-checking and hyphenation. Over 90 language dictionaries are available at Open Office and other sources. You can easily download and integrate your preferred language dictionaries into your product.

You can download Hunspell dictionaries from Open Office dictionaries or Mozilla Firefox dictionaries.

Opomba:

Adobe recommends that you don't replace existing hyphenation or spelling dictionaries. If you replace existing hyphenation dictionaries, line breaks in the existing documents can change according to the new hyphenation dictionaries when you re-edit the document. Similarly, replacing existing spelling dictionaries with new ones and spell-checking existing documents could show different results and suggestions.

If you must replace existing dictionaries, back up the existing files to revert to the original dictionaries, if necessary.

Add a Hunspell dictionary

  1. Download the required Spelling or Hyphenation dictionary. The downloaded file has an oxt extension (when downloaded from OpenOffice site). If you download it from a site other than OpenOffice, the extension can be different.

  2. Change the filename extension to zip. For example, rename xyz.ext to anyname.zip.

  3. Extract the contents of the zip archive to a folder and locate an affix (.aff) file, a spelling dictionary (.dic) file or a hyphenation dictionary (.dic) file. Rename these files using the language ISO codes as given in the table below.

    Language ISO codes are of the form: <ISO 639-1 language codes in lowercase>_<CountryCode in uppercase>. For example, English (United States) is en_US.

    File type

    Rename to

    Example

    aff file

    <language ISO Code>.aff

     en_US.aff

    Spelling dictionary

    <language ISO Code>.dic

     en_US.dic

    Hyphenation dictionary

    hyph_<language ISO Code>.dic

     hyph_en_US.dic

    You can refer to ISO 639-1 language codes and Country codes.

  4. Create a folder named <language ISO Code> in the Dictionaries folder, and copy these renamed files in it. Depending on the operating system, you can find the directory "Dictionaries" at the locations listed below.

    InDesign version Platform Location of Dictionaries folder
    CC 2015.4 and later Windows (64 bit) \Program Files\Adobe\Adobe InDesign <year>\Resources\Dictionaries\LILO\Linguistics\Providers\Plugins2\AdobeHunspellPlugin\Dictionaries
    macOS /Applications/Adobe InDesign CC/Resources/Dictionaries/LILO/Linguistics/Providers/Plugins2/AdobeHunspellPlugin.bundle/Contents/SharedSupport/Dictionaries
    ---------------------------------------------------------------------------------------------------------------------------------
    CC (32 bit) Windows (32 bit) %ProgramFiles%\Adobe\Adobe InDesign CC\Plug-Ins\Dictionaries\LILO\Linguistics\Providers\Plugins2\AdobeHunspellPlugin\Dictionaries
    Windows (64 bit) \Program Files\Adobe\Adobe InDesign CC\Resources\Dictionaries\LILO\Linguistics\Providers\Plugins2\AdobeHunspellPlugin\Dictionaries
    ---------------------------------------------------------------------------------------------------------------------------------
    CC (64 bit) Windows (64 bit) \Program Files\Adobe\Adobe InDesign CC\Resources\Dictionaries\LILO\Linguistics\Providers\Plugins2\AdobeHunspellPlugin\Dictionaries
    macOS
    /Applications/Adobe InDesign CC/Plug-Ins/Dictionaries/LILO/Linguistics/Providers/Plugins2/AdobeHunspellPlugin.bundle/Contents/SharedSupport/Dictionaries
    ---------------------------------------------------------------------------------------------------------------------------------
    CS6 Windows (32 bit)  %ProgramFiles%\Common Files\Adobe\Linguistics\6.0\Providers\Plugins2\AdobeHunspellPlugin\Dictionaries 
    Windows (64 bit)  Program Files(x86)\Common Files\Adobe\Linguistics\6.0\Providers\Plugins2\AdobeHunspellPlugin\Dictionaries 
    macOS
    /Library/Application Support/Adobe/Linguistics/6.0/Providers/Plugins2/AdobeHunspellPlugin.bundle/Contents/SharedSupport/Dictionaries
  5. Add a string element with value <language ISO Code> in Info.plist to the Spelling Service and UserDictionaryService Element or HyphenationService element. Depending on the operating system and InDesign version, you can find the file Info.plist at the locations listed below.

    InDesign version Platform   Location of Info.plist
    CC 2015.4 and later Windows (64 bit) \Program Files\Adobe\Adobe InDesign <year>\Resources\Dictionaries\LILO\Linguistics\Providers\Plugins2\AdobeHunspellPlugin\Dictionaries
    macOS
    /Applications/Adobe InDesign CC/Resources/Dictionaries/LILO/Linguistics/Providers/Plugins2/AdobeHunspellPlugin.bundle/Contents/
    -------------------------------------------------------------------------------------------------------------------------------------
    CC (32 bit) Windows (32 bit) %ProgramFiles%\Adobe\Adobe InDesign CC\Plug-Ins\Dictionaries\LILO\Linguistics\Providers\Plugins2\AdobeHunspellPlugin
    Windows (64 bit) \Program Files\Adobe\Adobe InDesign CC\Resources\Dictionaries\LILO\Linguistics\Providers\Plugins2\AdobeHunspellPlugin
    -------------------------------------------------------------------------------------------------------------------------------------
    CC (64 bit) Windows (64 bit) \Program Files\Adobe\Adobe InDesign CC\Resources\Dictionaries\LILO\Linguistics\Providers\Plugins2\AdobeHunspellPlugin\Dictionaries
    macOS
    /Applications/Adobe InDesign CC/Plug-Ins/Dictionaries/LILO/Linguistics/Providers/Plugins2/AdobeHunspellPlugin.bundle/Contents/
    -------------------------------------------------------------------------------------------------------------------------------------
    CS6 Windows (32 bit) %ProgramFiles%\Common Files\Adobe\Linguistics\6.0\Providers\Plugins2\AdobeHunspellPlugin
    Windows (64 bit) Program Files(x86)\Common Files\Adobe\Linguistics\6.0\Providers\Plugins2\AdobeHunspellPlugin\
    macOS
    /Library/Application Support/Adobe/Linguistics/6.0/Providers/Plugins2/AdobeHunspellPlugin.bundle/Contents
  6. Restart InDesign.

Remove a Hunspell dictionary

  1. For removing a Hunspell dictionary from InDesign, go to the folder with name <language ISO Code> in the Dictionaries Folder. Delete the .aff file, spelling dictionary and hyphenation dictionary. The names of these files are listed below.

    File type

     Name format

    Example

    aff file

    <language ISO Code>.aff

    en_US.aff

    Spelling Dictionary

    <language ISO Code>.dic

    en_US.dic

    Hyphenation Dictionary

     hyph_<language ISO Code>.dic

    hyph_en_US.dic

    Depending on the operating system, you can find the directory "Dictionaries" at the locations listed below.

     

    InDesign version Platform Location of Dictionaries folder
    CC (32 bit) Windows (32 bit) %ProgramFiles%\Adobe\Adobe InDesign CC\Plug-Ins\Dictionaries\LILO\Linguistics\Providers\Plugins2\AdobeHunspellPlugin\Dictionaries
    Windows (64 bit) \Program Files\Adobe\Adobe InDesign CC\Resources\Dictionaries\LILO\Linguistics\Providers\Plugins2\AdobeHunspellPlugin\Dictionaries
    ---------------------------------------------------------------------------------------------------------------------------------
    CC (64 bit) Windows (64 bit) \Program Files\Adobe\Adobe InDesign CC\Resources\Dictionaries\LILO\Linguistics\Providers\Plugins2\AdobeHunspellPlugin\Dictionaries
    macOS
    /Applications/Adobe InDesign CC/Resources/Dictionaries/LILO/Linguistics/Providers/Plugins2/AdobeHunspellPlugin.bundle/Contents/SharedSupport/Dictionaries
    ---------------------------------------------------------------------------------------------------------------------------------
    CS6 Windows (32 bit)  %ProgramFiles%\Common Files\Adobe\Linguistics\6.0\Providers\Plugins2\AdobeHunspellPlugin\Dictionaries 
    Windows (64 bit)  Program Files(x86)\Common Files\Adobe\Linguistics\6.0\Providers\Plugins2\AdobeHunspellPlugin\Dictionaries 
    macOS
    /Library/Application Support/Adobe/Linguistics/6.0/Providers/Plugins2/AdobeHunspellPlugin.bundle/Contents/SharedSupport/Dictionaries
  2. From the Info.plist file remove the string element from the Spelling Service and UserDictionaryService Element and HyphenationService element. Depending on the operating system, Info.plist can be found at the mentioned below locations.

    InDesign version Platform   Location of Info.plist
    CC (32 bit) Windows (32 bit) %ProgramFiles%\Adobe\Adobe InDesign CC\Plug-Ins\Dictionaries\LILO\Linguistics\Providers\Plugins2\AdobeHunspellPlugin
    Windows (64 bit) \Program Files\Adobe\Adobe InDesign CC\Resources\Dictionaries\LILO\Linguistics\Providers\Plugins2\AdobeHunspellPlugin
    -------------------------------------------------------------------------------------------------------------------------------------
    CC (64 bit) Windows (64 bit) \Program Files\Adobe\Adobe InDesign CC\Resources\Dictionaries\LILO\Linguistics\Providers\Plugins2\AdobeHunspellPlugin
    macOS
    /Applications/Adobe InDesign CC/Resources/Dictionaries/LILO/Linguistics/Providers/Plugins2/AdobeHunspellPlugin.bundle/Contents/
    -------------------------------------------------------------------------------------------------------------------------------------

       CS6
    Windows (32 bit) %ProgramFiles%\Common Files\Adobe\Linguistics\6.0\Providers\Plugins2\AdobeHunspellPlugin
    Windows (64 bit) Program Files(x86)\Common Files\Adobe\Linguistics\6.0\Providers\Plugins2\AdobeHunspellPlugin\
    macOS
    /Library/Application Support/Adobe/Linguistics/6.0/Providers/Plugins2/AdobeHunspellPlugin.bundle/Contents
  3. Relaunch InDesign.

    Talk to us

    We would love to hear from you. Share your thoughts with the Adobe InDesign Community

 Adobe

Pridobite pomoč hitreje in preprosteje

Ali ste nov uporabnik?