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.
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: 18.104.22.168 (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
Thanks for the reply. The CPU info was absolutely my mistake. It is corrected now.
Here is the info retrieved from About:
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
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.
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.
(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.
> 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.
This bug has been in NEEDINFO status with no change for at least
6 months. Please provide the requested information as soon as
possible and mark the bug as UNCONFIRMED. Due to regular bug
tracker maintenance, if the bug is still in NEEDINFO status with
no change in 30 days the QA team will close the bug as INSUFFICIENTDATA
due to lack of needed information.
For more information about our NEEDINFO policy please read the
wiki located here:
If you have already provided the requested information, please
mark the bug as UNCONFIRMED so that the QA team knows that the
bug is ready to be confirmed.
Thank you for helping us make LibreOffice even better for everyone!
Please read this message in its entirety before proceeding.
Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):
a) Provide details of your system including your operating
system and the latest version of LibreOffice that you have
confirmed the bug to be present
b) Provide easy to reproduce steps – the simpler the better
c) Provide any test case(s) which will help us confirm the problem
d) Provide screenshots of the problem if you think it might help
e) Read all comments and provide any requested information
Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:
a) respond via email
b) update the version field in the bug or any of the other details
on the top section of our bug tracker
*** This bug has been marked as a duplicate of bug 137742 ***