missing librelogo localizations

Bug #1302456 reported by László Németh on 2014-04-04
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Translations
libreoffice (Ubuntu)

Bug Description

I have got some bug reports, that libreoffice-librelogo package of Ubuntu contains only English localization of LibreLogo. The official binary LibreOffice builds of documentfoundation.org are shipped with them (see *.properties files in /opt/libreoffice4.2/share/Scripts/python/LibreLogo in Linux). Bug reporter István Blahota has written that this is a regression in Ubuntu 14.04. Thanks in advance for your help!

To check it:

1. search LibreLogo_en_US.properties
2. and LibreLogo_hu.properties in the same directory

To test it:

1. Start a new document in LibreOffice
2. write "xyz" in the document
2. change the language of the document to Hungarian (or other non-English language with LibreLogo localization)
3. Click on the Start icon of the (View->Toolbars...->)Logo toolbar.

The error message has to be localized to the language of the document.

The real problem is that LibreLogo is a localized programming language, too, eg.



VOR 10

in German



in Hungarian, but without its resource files, LibreLogo will use English for all languages (a bug).

The root cause is likely that librelogo does not properly split localizations upstream (or given that for librelogo the localization is part of the core product, it does trigger on the configure setting on which l10n to build).

For LibreOffice 4.2 Ubuntu (finally) started to do a proper split-out build of l10n, by using the upstream build-l10n-only and build-non-l10n-only targets (the latter with only en-US set as l10n). We also cannot depend on the l10n tarballs in the non-l10n part. So you would need to make sure that librelogo does build the l10ns in a build-l10n-only build and properly have those files added to the packaging information done by "make install-package-%" and "make packageinfo".

Björn, thanks for your help! I will ask the help of András, who made the integration.

A temporary solution: copying missing localizations:

1. Download your or all *properties files from http://numbertext.org/logo/l10n/
2. Copy them to the folder of LibreLogo_en_US.properties:

sudo cp *.properties /usr/lib/libreoffice/share/Scripts/python/LibreLogo

Adolfo Jayme (fitojb) on 2014-04-18
Changed in libreoffice (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Changed in ubuntu-translations:
status: New → Triaged
importance: Undecided → Medium
Andras Timar (timar-fsf) wrote :

I cannot verify my solution, but from Björn's comment it seems we have start with the attached patch. I do not know how to add those files to the packaging information (by the way I did not find any localized .properties files there at all).

The attachment "librelogo-l10n.diff" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch

András, many thanks for the patch! Björn, could you help to check it? Thanks in advance, László

As an ugly, but working solution for the missing packaging, localization was added to the Python resource file: https://cgit.freedesktop.org/libreoffice/core/commit/?id=3b4fd34995262a161f30e1db8d087b0f01dfef37

Changed in libreoffice (Ubuntu):
status: Triaged → Fix Committed
Changed in ubuntu-translations:
status: Triaged → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers