** Changed in: libreoffice-dictionaries (Ubuntu) Status: Confirmed => In Progress
** Changed in: libreoffice-dictionaries (Ubuntu) Assignee: Mattia Rizzolo (mapreri) => Gunnar Hjalmarsson (gunnarhj) ** Changed in: libreoffice-dictionaries (Ubuntu Xenial) Status: Confirmed => In Progress ** Description changed: + [Impact] + Dictionaries like /usr/share/hunspell/es_ANY.aff /usr/share/hunspell/es_ANY.dic and /usr/share/hyphen/hyph_sv.dic - don't work. At least they are not recognized in LibreOffice. + are not recognized by LibreOffice, since their names don't include + country codes. The proposed uploads in this PPA: - For instance, as regards the hyphen-sv package we need: + https://launchpad.net/~gunnarhj/+archive/ubuntu/lo-dicts-symlinks - $ ls -l /usr/share/hyphen | grep sv - -rw-r--r-- 1 root root 102979 jan 27 01:58 hyph_sv.dic - lrwxrwxrwx 1 root root 11 apr 25 18:11 hyph_sv_FI.dic -> hyph_sv.dic - lrwxrwxrwx 1 root root 11 apr 25 18:10 hyph_sv_SE.dic -> hyph_sv.dic + renames such files, and also adds symlinks in some cases for locales + with other country codes but the 'main' locale for a language. + + [Test Case] + + Example: + + * Install the Swedish language via Language Support + + * Start libreoffice with a Swedish locale + LC_CTYPE=sv_SE.UTF-8 libreoffice --writer + + * Find that hyphenation is not available + + [Regression Potential] + + There is a drawback with this fix: For e.g. Spanish and Arabic users the + symlinks will add items in the spellcheck menus of other applications + but LibreOffice, where it would have worked without those symlinks. + OTOH, this is the way it has been handled in Ubuntu up to 15.10, so the + fix basically restores the previous behavior. + + Other than that, the regression risk is low. This is only about files + (including symlinks) in the /usr/share/{hunspell,hyphen,mythes} + directories with limited affect on the system. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574745 Title: Missing symlinks to match locales To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice-dictionaries/+bug/1574745/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs