Consider this Basic code: sub testHyphenator hyphenator = createUnoService("com.sun.star.linguistic2.Hyphenator") locale = new com.sun.star.lang.Locale locale.Language = "en" locale.Country = "US" result = hyphenator.createPossibleHyphens("hyphenate", locale, array()) MsgBox IsNull(result) hyphenator.getLocales() result = hyphenator.createPossibleHyphens("hyphenate", locale, array()) MsgBox IsNull(result) MsgBox result.getPossibleHyphens() end sub Restart LibreOffice (to make sure that hyphenation service has not yet been used), and run it in Basic IDE. The first MsgBox shows an unexpected True.
https://gerrit.libreoffice.org/c/core/+/177076
Mike Kaganski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/29091962399dfae3707b1bbd981ce037c97684ec tdf#164005: make sure to initialize locales before use of Hyphenator It will be available in 25.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Mike Kaganski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/7eaf28b0a210a9ad7b22372a2a850a8c514d7593 tdf#164005: also initialize locales in hyphenate() It will be available in 25.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Mike Kaganski committed a patch related to this issue. It has been pushed to "libreoffice-24-8": https://git.libreoffice.org/core/commit/c899fd58d259c927aae1dcc73829b11252778b5f tdf#164005: make sure to initialize locales before use of Hyphenator It will be available in 24.8.4. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Mike Kaganski committed a patch related to this issue. It has been pushed to "libreoffice-24-8": https://git.libreoffice.org/core/commit/da7ed89441a98adbba917fd9611c38415368a8b6 tdf#164005: also initialize locales in hyphenate() It will be available in 24.8.4. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.