[upstream] missing librelogo localizations

Bug #1302456 reported by László Németh
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
LibreOffice
Fix Released
Medium
Ubuntu Translations
Fix Released
Medium
Unassigned
libreoffice (Ubuntu)
Fix Released
Medium
Unassigned

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.

Revision history for this message
László Németh (nemeth-libreoffice) wrote :

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

FORWARD 10

is

VOR 10

in German

or

ELŐRE 10

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

Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :

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".

Revision history for this message
László Németh (nemeth-libreoffice) wrote :

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

Revision history for this message
László Németh (nemeth-libreoffice) wrote :

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

Changed in libreoffice (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Changed in ubuntu-translations:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
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).

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

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
Revision history for this message
László Németh (nemeth-libreoffice) wrote :

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

Revision history for this message
In , László Németh (nemeth-libreoffice) wrote :

Description:
LibreLogo doesn't work on some macOS platforms. Problem reported by Andreas Formiconi, University of Florence.

There is no LibreLogo localization on Ubuntu (regression): https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1302456

Fallback localization is a temporary solution to fix LibreLogo usage on platforms supported by LibreOffice.

Steps to Reproduce:
Install libreoffice-librelogo on Ubuntu, and try localization (package doesn't contain LibreLogo property files).

Check LibreLogo on macOS 10.6.8. 10.7.5, 10.7.8.

Actual Results:
Only English LibreLogo localization on Ubuntu.

Error message on MacOS platform

Expected Results:
Localizations on Ubuntu

Working LibreLogo on macOS

Reproducible: Always

User Profile Reset: No

Additional Info:

User-Agent: Mozilla/5.0 (X11; Linux i686; rv:56.0) Gecko/20100101 Firefox/56.0

Revision history for this message
In , Libreoffice-commits (libreoffice-commits) wrote :

László Németh committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=3b4fd34995262a161f30e1db8d087b0f01dfef37

tdf#113592 LibreLogo: add fallback localization to fix platform issues

It will be available in 6.0.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

Revision history for this message
In , Libreoffice-commits (libreoffice-commits) wrote :

László Németh committed a patch related to this issue.
It has been pushed to "libreoffice-5-4":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=08fa0c2d549a662857028783a10292667058fc1d&h=libreoffice-5-4

tdf#113592 LibreLogo: add fallback localization to fix platform issues

It will be available in 5.4.4.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

Revision history for this message
In , Xiscofauli (xiscofauli) wrote :

A polite ping to László Németh: is this bug fixed? if so, could you
please close it as RESOLVED FIXED ? Thanks

Revision history for this message
In , Xiscofauli (xiscofauli) wrote :

(In reply to Xisco Faulí from comment #3)
> A polite ping to László Németh: is this bug fixed? if so, could you
> please close it as RESOLVED FIXED ? Thanks

@László Németh: ??

Revision history for this message
In , László Németh (nemeth-libreoffice) wrote :

@Xisco Faulí: many thanks for the polite ping! :)

Revision history for this message
László Németh (nemeth-libreoffice) wrote :

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
summary: - missing librelogo localizations
+ [upstream] missing librelogo localizations
summary: - [upstream] missing librelogo localizations
+ missing librelogo localizations
Changed in ubuntu-translations:
status: Fix Committed → Fix Released
Changed in libreoffice (Ubuntu):
status: Fix Committed → Fix Released
summary: - missing librelogo localizations
+ [upstream] missing librelogo localizations
Changed in df-libreoffice:
importance: Unknown → Medium
status: Unknown → Fix Released
Revision history for this message
In , Libreoffice-commits (libreoffice-commits) wrote :

László Németh committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/d687d74a4e3ba70a4e21fcd7db532c3cffc7d4d2

tdf#113592 LibreLogo: update fallback localization

It will be available in 7.5.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

Revision history for this message
In , Libreoffice-commits (libreoffice-commits) wrote :

László Németh committed a patch related to this issue.
It has been pushed to "libreoffice-7-4":

https://git.libreoffice.org/core/commit/fd1e27ef7eb5c893128bf3826826aae148d4c249

tdf#113592 LibreLogo: update fallback localization

It will be available in 7.4.4.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.