https://bugs.documentfoundation.org/show_bug.cgi?id=100194

            Bug ID: 100194
           Summary: Problem with detection of spelling dictionaries named
                    by BCP 47 tag
           Product: LibreOffice
           Version: 5.1.3.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Linguistic
          Assignee: [email protected]
          Reporter: [email protected]

Using spelling dictionaries for languages that have no basic locale data in
LibreOffice does not work until the user accesses settings for writing aids.

Steps to reproduce:
- Create (an empty) spelling dictionary for language crl (East Cree):
  # touch /usr/share/hunspell/crl.aff
  # touch /usr/share/hunspell/crl.dic
- Start LibreOffice Writer
- Type in some text, select it and choose Format -> Character
- In the language combobox type the language code "crl" and click OK.
** Observe that there is no red underline under the text even though the
** language has changed to crl and none of the typed words exist in the
** empty spelling dictionary.
- Go to Tools -> Options -> Language Settings -> Writing Aids
- Do not change any settings, just click OK.
** Now the spell checker works and underlines all the typed words.

Expected result: spell checking should work immediately after changing the text
language.

The same results can be reproduced using Voikko spell checking extension with
real working dictionary so the issue is likely not related to Hunspell or using
empty dictionary.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to