Bug 132396 - "Missing hyphenation info" pop-up banner displayed for Chinese which has no concept of hyphenation
Summary: "Missing hyphenation info" pop-up banner displayed for Chinese which has no c...
Status: RESOLVED DUPLICATE of bug 137742
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Linguistic (show other bugs)
Version:
(earliest affected)
6.4.3.2 release
Hardware: x86-64 (AMD64) macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-25 08:45 UTC by 5s7cigse6x
Modified: 2021-07-18 04:00 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 5s7cigse6x 2020-04-25 08:45:11 UTC
Whenenver a document containing Chinese characters is opened, Write displays the message:

Missing hyphenation info Please install hyphenation package for locale "zh".

"zh" refers to Chinese which is a language without concept of hyphenation. In fact the LibreOffice extension repository has no Chinese dictionary nor Chinese hyphenation package.

I suggest that the info banner should be disabled for locale zh, or in general for all languages that has no concept of hyphenation.
Comment 1 Ming Hua 2020-04-26 05:07:50 UTC
As a native Chinese speaker, I use Chinese characters in Writer all the time, and have never encountered such error message.

LibreOffice only supports zh_CN and zh_TW locales though, and NOT simply "zh".  This may be the source of your problem.  Also I doubt your system is as you specified in this bug report (IA32 CPU and macOS, really?), so please paste your LibreOffice information from the Help > About LibreOffice dialog, like this:

Version: 6.3.5.2 (x64)
Build ID: dd0751754f11728f69b42ee2af66670068624673
CPU threads: 2; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: zh-CN (zh_CN); UI-Language: en-US
Calc: threaded
Comment 2 5s7cigse6x 2020-04-26 08:21:46 UTC
Thanks for the reply. The CPU info was absolutely my mistake. It is corrected now.

Here is the info retrieved from About:

Version: 6.4.3.2
Build ID: 747b5d0ebf89f41c860ec2a39efd7cb15b54f2d8
CPU threads: 4; OS: Mac OS X 10.15.4; UI render: default; VCL: osx; 
Locale: en-HK (en_HK.UTF-8); UI-Language: en-US
Calc: threaded
Comment 3 Ming Hua 2020-04-26 22:39:57 UTC
Okay, so I've tested on Windows about this hyphenation feature, and can't reproduce.

1. Create a new blank document in Writer;
2. Type the following sentence: "This is a test for hyphenation feature in LibreOffice, with mixed Chinese and English text, like biotransformation (生物转化) and pneumonoultramicroscopicsilicovolcanoconiosis (矽肺病).", with the default 12-pt Liberation Serif font, the word "biotransformation" happens to be at the end of first line and start of second line, without hyphenation it is put on the second line;
3. Make sure that when I click inside the sentence, when the cursor is in the English parts, the status bar shows "English (USA)", and when the cursor is in the Chinese parts, it shows "Chinese (simplified)";
4. Tools > Language > Hyphenation..., the dialog pops up and offers to hyphenize "bio-information", if confirmed, the "bio-" part is moved to the first line;
5. Save file and re-open it, the hyphenized word displays fine.

No error message in the process.

This was with LO 6.3.5 on Windows 10 as specified in comment #1.

@5s7cigse6x Can you attach an example file and provide detailed steps to reproduce?  Thanks.
Comment 4 Ming Hua 2020-04-26 22:46:11 UTC
One more thing to consider: I'm not familiar with the macOS version of LO, but I know the UI for different languages are distributed as separate packages there (e.g. https://www.libreoffice.org/download/download/?type=mac-x86_64&version=6.4.3&lang=zh-TW for traditional Chinese).  Maybe the liguistic tools are also packaged there?  It's at least worth a try to install those (both zh-CN and zh-TW ones) and see if they make a difference.
Comment 5 Ming Hua 2020-05-02 21:40:28 UTC
(In reply to Ming Hua from comment #4)
> One more thing to consider: I'm not familiar with the macOS version of LO,
> but I know the UI for different languages are distributed as separate
> packages there (e.g.
> https://www.libreoffice.org/download/download/?type=mac-x86_64&version=6.4.
> 3&lang=zh-TW for traditional Chinese).  Maybe the liguistic tools are also
> packaged there?  It's at least worth a try to install those (both zh-CN and
> zh-TW ones) and see if they make a difference.
Setting to NEEDINFO as the reporter hasn't replied yet.  You can change it back to UNCONFIRMED once you've done the testing and reported back.
Comment 6 QA Administrators 2020-10-30 04:14:28 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2020-12-10 03:49:06 UTC Comment hidden (obsolete)
Comment 8 Mike Kaganski 2021-03-26 10:29:20 UTC

*** This bug has been marked as a duplicate of bug 137742 ***