[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#964944: libreoffice-l10n-zh-cn: language pack not selectable in libreoffice settings



reassign 964944
libreoffice-l10n-en-gb,libreoffice-l10n-en-za,libreoffice-l10n-pa-in,libreoffice-l10n-pt-br,libreoffice-l10n-zh-cn,libreoffice-l10n-zh-tw

found 964944 1:7.0.0~alpha1-1

severity 964944 grave

thanks

Hi,

Am 13.07.20 um 05:20 schrieb Wenbin Lv:
> zh-cn (and zh-tw) languages are not selectable in libreoffice settings
> fter upgrading to 7.0. By comparing with language packs of other
> languages, I notice that some autogenerated commands are missing in
> postinst script of libreoffice-l10n-zh-{cn,tw}. Manually running the
> following commands fixes the problem:
[...]

Hmm. All that is - as you say - autogenerated - and while cjk etc was
missing in some versions that is added, too.


But looking at debian/rules right now:

        # create .ucf files for libreoffice-l10n-*. First generic ones
        # libreoffice-l10n.ucf.in, but there also are CJK/CTL specific
        # files, too...
        for i in $(filter-out en-US,$(LANGPACKISOS)); do \
            cat debian/libreoffice-l10n.ucf.in \
                | sed -e "s/\@ISO\@/$$i/g" \
                > debian/libreoffice-l10n-$$i.ucf; \
            if [ -f instdir/share/registry/ctl_$$i.xcd ]; then \
                echo "/usr/lib/libreoffice/share/.registry/ctl_$$i.xcd
/etc/libreoffice/registry/ctl_$$i.xcd" \
                        >> debian/libreoffice-l10n-$$i.ucf; \
            fi; \
            if [ -f instdir/share/registry/ctlseqcheck_$$i.xcd ]; then \
                echo
"/usr/lib/libreoffice/share/.registry/ctlseqcheck_$$i.xcd
/etc/libreoffice/registry/ctlseqcheck_$$i.xcd" \
                        >> debian/libreoffice-l10n-$$i.ucf; \
            fi; \
            if [ -f instdir/share/registry/cjk_$$i.xcd ]; then \
                echo "/usr/lib/libreoffice/share/.registry/cjk_$$i.xcd
/etc/libreoffice/registry/cjk_$$i.xcd" \
                        >> debian/libreoffice-l10n-$$i.ucf; \
            fi; \
        done

it occurs to me that you don't get this since it's written e.g. into a
libreoffice-l10n-zh-TW.ucf file instead of a libreoffice-l10n-zh-tw.ucf
file...

Which also means xx_YY langpacks are affected...


Thanks for reporting, will fix.


Regards,


Rene


Reply to: