Hyphenation of particular languages in InDesign

Is it possible to add new hyphenation rules to InDesign, and what languages does it have built-in hyphenation for?


It is possible both to add new hyphenation rules to existing language dictionaries in InDesign and to add new language dictionaries.


Adding a language (Albanian)

The exact steps you have to take to add a dictionary for a new language vary according to your OS (operating system) and which version of InDesign you’re using. There is a very clear and extensive guide on Adobe’s help pages, which will help you.

There aren’t many Albanian Hunspell dictionaries available, but there is one on GitHub, based on the older Shkenca dictionaries. Note that these are not made by a corporative entity, but seemingly by a single person, so they may contain unspotted errors.

To install Albanian:

  • download the .aff and .dic files from the GitHub page
  • rename them to sq_AL.aff and sq_AL.dic respectively
  • create a folder named sq_AL in the proper location (see step 4 on the Adobe help page) and put the two files in that folder
  • open the file Info.plist in the proper location (see step 5 on the Adobe help page). Note: If you’re on a Mac, once you find AdobeHunspellPlugin.bundle, you have to right-click and select “Show package contents” to see the subfolder Contents where the plist file is located
  • locate the lines in the file that say <key>HyphenationService</key>, <key>SpellingService</key> and <key>UserDictionaryService</key>. Immediately following each of those lines is a start tag <array>, followed by a list of <string>xx_XX</string> tags. Add a string tag <string>sq_AL</string> to that list. It doesn’t matter where in the list you put it.

The next time you restart InDesign, you should be able to choose Albanian as one of the languages you can set text in.


Adding words

As you mention in your comment, you can add your own words in addition to the ones already present in the Hunspell dictionary by using the EditSpellingUser Dictionary options.

The interface there is intuitive enough, but if you need more help, there is also an Adobe help page on spell-checking and language dictionaries.

When you add a new word, you can click the Hyphenate button to suggest an automated hyphenation rule. This rule is based on the hyphenation rules set out in the Hunspell dictionary itself and will usually, but not always, be accurate. If you wish to tweak it to be absolutely how you want it, you can set the hyphenation options yourself.

Points 6 and 7 in the section Add words to dictionaries on the Adobe help page explains the syntax:

  • Tildes (~) indicate possible hyphenation points.
  • Type one tilde (~) to indicate the best possible hyphenation points, or the only acceptable hyphenation point, in the word.
  • Type two tildes (~~) to indicate your second choice.
  • Type three tildes (~~~) to indicate a poor but acceptable hyphenation point.
  • If you want the word never to be hyphenated, type a tilde before its first letter.

Source : Link , Question Author : alfred , Answer Author : Janus Bahs Jacquet

Leave a Comment