Monoport of https://github.com/alkozko/NHyphenator
To get new hyphenations patterns for a other languages go to:
http:https://extensions.openoffice.org/en/search?f[0]=field_project_tags%3A157
- Search the dictionary of your languages
- Download the extension
- Unzip it
- Copy the hyph_xx_xx/hyph_xx_xx.dic file into Resources folder and rename it to hyph-xx-xx.pat.txt
- Create a hyph-xx-xx.hyph.txt file for word exceptions
- Add the new files to "Patterns.resx"
- Add your Language to the "HyphenatePatternsLanguage" enum in "Hyphenator.cs"
- Extend the "LoadPatterns" (Hyphenator.cs) method for your languages
- Done.