Bug 115567 - LibreOffice-l10n-zh-tw 6.0 Packages from launchpad ppa is incomplete
Summary: LibreOffice-l10n-zh-tw 6.0 Packages from launchpad ppa is incomplete
Status: CLOSED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Localization (show other bugs)
Version:
(earliest affected)
6.0.0.3 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-09 02:54 UTC by Franklin Weng
Modified: 2018-03-06 02:53 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
The options settings should be in Traditional Chinese not English (177.23 KB, image/png)
2018-02-09 02:55 UTC, Franklin Weng
Details
6.0.0.3 downloaded from LibreOffice website is okay (301.44 KB, image/png)
2018-02-09 14:05 UTC, Franklin Weng
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Franklin Weng 2018-02-09 02:54:33 UTC
Description:
I upgraded my LibreOffice to 6.0.0.3 from ppa (ppa:libreoffice/libreoffice-6-0).  After upgrading, the UI becomes half Traditional Chinese and half English.  As attached images (later).

Steps to Reproduce:
1. add-apt-repository ppa:libreoffice/libreoffice-6-0
2. apt update; apt dist-upgrade
3. After upgrading LibreOffice to 6.0.0.3 the content of zh-tw language pack is incomplete.

Actual Results:  
As attached images.

Expected Results:
The translation ratio is nearly 100%.  They should be in Traditional Chinese.


Reproducible: Always


User Profile Reset: No



Additional Info:
This should be a ubuntu packaging problem, but I didn't find out how to report such issues in launchpad.


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36
Comment 1 Franklin Weng 2018-02-09 02:55:22 UTC
Created attachment 139714 [details]
The options settings should be in Traditional Chinese not English
Comment 2 Franklin Weng 2018-02-09 12:44:58 UTC
Trying to install LibreOffice 6.0.1.1 downloaded from LibreOffice website, the result is the same.  The packages of zh-tw langpack is incomplete, not only from ppa.
Comment 3 Franklin Weng 2018-02-09 12:49:12 UTC
Sorry, my mistake.  On second check, only 6.0.0.3 from ppa has this problem.  The 6.0.1.1 packages from the main website is good.
Comment 4 Aron Budea 2018-02-09 13:47:16 UTC
Franklin, could you please test if the 6.0.0.3 language pack from TDF also exhibited this issue? If it did, then we could assume this will be fixed when the PPA gets updated with 6.0.1 packages.

In the meantime, CCing Rico so he knows about this.
Comment 5 Franklin Weng 2018-02-09 14:04:31 UTC
(In reply to Aron Budea from comment #4)
> Franklin, could you please test if the 6.0.0.3 language pack from TDF also
> exhibited this issue? If it did, then we could assume this will be fixed
> when the PPA gets updated with 6.0.1 packages.
> 
> In the meantime, CCing Rico so he knows about this.

No.  6.0.0.3 packages from TDF is okay.  I'll attach the screenshot soon.
Comment 6 Franklin Weng 2018-02-09 14:05:25 UTC
Created attachment 139732 [details]
6.0.0.3 downloaded from LibreOffice website is okay
Comment 7 Aron Budea 2018-02-09 19:16:35 UTC
I downloaded and looked into the package libreoffice-l10n-zh-tw_6.0.0~rc3-0ubuntu0.17.10.1~lo0_all.deb, and indeed the whole /usr/lib/libreoffice/program/resource directory is empty. All l10n packages in that ppa seem to be affected (they're a lot smaller compared to the 5.4.4 l10n packages, though both are also smaller than the TDF packages... haven't checked why).
Comment 8 Rico Tzschichholz 2018-02-09 23:04:00 UTC
Package rebuilds are on there way.

https://gerrit.libreoffice.org/#/c/49528/
Comment 9 Franklin Weng 2018-02-10 13:25:27 UTC
(In reply to Rico Tzschichholz from comment #8)
> Package rebuilds are on there way.
> 
> https://gerrit.libreoffice.org/#/c/49528/

So far in the version 1:6.0.1~rc1 of libreoffice-l10n-zh-tw, the resources/zh_TW/LC_MESSAGES/ folder is still empty.

# dpkg -L libreoffice-l10n-zh-tw
/.
/usr
/usr/lib
/usr/lib/libreoffice
/usr/lib/libreoffice/program
/usr/lib/libreoffice/program/resource
/usr/lib/libreoffice/program/resource/zh-TW
/usr/lib/libreoffice/program/resource/zh-TW/LC_MESSAGES
/usr/lib/libreoffice/share
/usr/lib/libreoffice/share/registry
/usr/lib/libreoffice/share/registry/res
/usr/lib/libreoffice/share/registry/res/registry_zh-TW.xcd
/usr/lib/libreoffice/share/registry/res/fcfg_langpack_zh-TW.xcd
/usr/lib/libreoffice/share/registry/Langpack-zh-TW.xcd
/usr/lib/libreoffice/share/autotext
/usr/lib/libreoffice/share/autotext/zh-TW
/usr/lib/libreoffice/share/autotext/zh-TW/crdbus50.bau
/usr/lib/libreoffice/share/autotext/zh-TW/template.bau
/usr/lib/libreoffice/share/autotext/zh-TW/standard.bau
/usr/lib/libreoffice/share/wordbook
/usr/lib/libreoffice/share/wordbook/zh-TW
/usr/lib/libreoffice/share/wordbook/zh-TW/technical.dic
/usr/share
/usr/share/doc
/usr/share/doc/libreoffice-l10n-zh-tw
/usr/share/doc/libreoffice-l10n-zh-tw/changelog.Debian.gz
/usr/share/doc/libreoffice-l10n-zh-tw/copyright
/usr/share/doc/libreoffice-l10n-zh-tw/README.gz
Comment 10 Franklin Weng 2018-02-10 13:37:20 UTC
I move the *.mo in language pack libobasis6.0-zh-tw_6.0.1.1-1_amd64.deb (from LibreOffice website) to /usr/lib/libreoffice/program/resource/zh_TW/LC_MESSAGES (Notice that the folder should be zh_TW/LC_MESSAGES instead of zh-tw/LC_MESSAGES)
and it works now.
Comment 11 Rico Tzschichholz 2018-02-10 17:50:20 UTC
(In reply to Franklin Weng from comment #10)
> I move the *.mo in language pack libobasis6.0-zh-tw_6.0.1.1-1_amd64.deb
> (from LibreOffice website) to
> /usr/lib/libreoffice/program/resource/zh_TW/LC_MESSAGES (Notice that the
> folder should be zh_TW/LC_MESSAGES instead of zh-tw/LC_MESSAGES)
> and it works now.

Thanks for looking into it further. I have updated the patch and it should more correct now. Updated packages should be available soon.
Comment 12 Franklin Weng 2018-02-12 01:29:30 UTC
(In reply to Rico Tzschichholz from comment #11)
> (In reply to Franklin Weng from comment #10)
> > I move the *.mo in language pack libobasis6.0-zh-tw_6.0.1.1-1_amd64.deb
> > (from LibreOffice website) to
> > /usr/lib/libreoffice/program/resource/zh_TW/LC_MESSAGES (Notice that the
> > folder should be zh_TW/LC_MESSAGES instead of zh-tw/LC_MESSAGES)
> > and it works now.
> 
> Thanks for looking into it further. I have updated the patch and it should
> more correct now. Updated packages should be available soon.


The new packages works.
Thanks.
Comment 13 Franklin Weng 2018-02-20 02:43:56 UTC
This one is solved and can be closed.  Thanks for fixing it.