Bug 73833 - [l10n] No translation in quicklist on Ubuntu for Unity entries
Summary: [l10n] No translation in quicklist on Ubuntu for Unity entries
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Localization (show other bugs)
Version:
(earliest affected)
4.2.0.2 rc
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Björn Michaelsen
URL:
Whiteboard:
Keywords:
: 80417 86256 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-01-20 13:44 UTC by vulcain
Modified: 2016-03-30 00:19 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments
Quicklist still in English (139.29 KB, image/png)
2014-01-20 13:44 UTC, vulcain
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vulcain 2014-01-20 13:44:43 UTC
Created attachment 92451 [details]
Quicklist still in English

In LibreOffice 4.2.0.2 Build ID: 601a398b803303d1a40a3299729531824fe0db56 on Ubuntu 12.04.4 x86_64, the quicklist are not translate in french (see attachment)


1) Install LibreOffice_4.2.0.2_Linux_x86-64_deb.tar.gz
2) Install LibreOffice_4.2.0.2_Linux_x86-64_deb_langpack_fr.tar.gz
3) Install LibreOffice_4.2.0.2_Linux_x86-64_deb_helppack_fr.tar.gz
4) Don't forget to select french for User interface  (in Tools -> Option -> Language settings -> Languages ). Quit LibreOffice after that.
5) Launch LibreOffice
6) Make a click right on the LibreOffice icon
7) Quicklist show, no translated


8) Expected: quicklist translate
Comment 1 Julien Nabet 2014-01-20 19:34:46 UTC
Sophie/Jean-Baptiste: one for you?
Comment 2 Jean-Baptiste Faure 2014-01-20 20:54:03 UTC
Confirmed for versions 4.2.0.2 and 4.2.1.0.0+ on Ubuntu 13.10 FR.

Best regards. JBF
Comment 3 Jean-Baptiste Faure 2014-01-22 19:52:36 UTC
It seems that the sections like

[Desktop Action Writer]
Name=Text Document
Exec=libreoffice4.2 --writer
OnlyShowIn=Unity;

in startcenter.desktop are not made translatable. 

There is nothing in sysui/desktop/menus/startcenter.desktop which make different the strings which are translated (GenericName or Comment in [Desktop Entry] for example) and the strings which are not translated (Name in [Desktop Action ***] sections)

Hi Andras, do you know what should be done to make these strings translatable?

Best regards. JBF
Comment 4 Adolfo Jayme Barrientos 2014-09-27 05:47:52 UTC
*** Bug 80417 has been marked as a duplicate of this bug. ***
Comment 5 Adolfo Jayme Barrientos 2014-11-13 17:43:49 UTC
*** Bug 86256 has been marked as a duplicate of this bug. ***
Comment 6 Yan Pas 2015-09-22 20:39:58 UTC
@Jean

libreoffice.desktop is tranlsatable,  this file is just absent i pootle.
Here is how it is translated with clementine.desktop
...
[Next Shortcut Group]
Name=Next
Exec=clementine --next
TargetEnvironment=Unity
Name[af]=Volgende
Name[be]=Далей
Name[bg]=Следваща
...
[Previous Shortcut Group]
Name=Previous
Exec=clementine --previous
TargetEnvironment=Unity
Name[af]=Vorige
Name[be]=Папярэдні
Name[bg]=Предишна
....

So there are two ways to fix it, translate it manually in git (I didn't find this file in sources) via google translate or adapt it to libtext and consequently to LO-pootle
Comment 7 Que Quotion 2015-10-13 13:08:36 UTC
Before I open a duplicate or redundant report, is this related?

Unity doesn't localize from GenericName[code]=Localized-Name

It only displays localized names from Name[code]=Localized-Name

So I did:

sed -i 's|GenericName|Name|g' /usr/share/applications/libreoffice-*

Everything that is localized now localizes.
Comment 8 Yan Pas 2015-10-13 13:13:58 UTC
I think you'd better to open new bug. This bug report is about names of custom actions (create new file), which are untranslated at all.
Comment 9 Björn Michaelsen 2016-03-30 00:19:02 UTC
Not only is translatable, but actually is translated in 5.1.1/Ubuntu 16.04.

see also: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1170035