Bug 122507 - UNO command labels are unlocalized in tunneled menus and dialogs
Summary: UNO command labels are unlocalized in tunneled menus and dialogs
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice Online
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: LOOL-Dialog-Translations
  Show dependency treegraph
 
Reported: 2019-01-05 11:59 UTC by Andras Timar
Modified: 2019-12-01 12:03 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Spellchecker popup menu (70.83 KB, image/png)
2019-01-05 11:59 UTC, Andras Timar
Details
a Chart popup menu (46.03 KB, image/png)
2019-01-05 12:00 UTC, Andras Timar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andras Timar 2019-01-05 11:59:42 UTC
Created attachment 148061 [details]
Spellchecker popup menu

1. Open localized LibreOffice Online, e.g. in German.
2. Type some text with a spelling mistake, and right-click on the underlined word.

A local menu will pop up, with unlocalized entries. See the 1st screenshot. 

1. Open localized LibreOffice Online, e.g. in German.
2. Insert a chart, click on the chart, then right-click on the chart. 

A local menu will pop up, with unlocalized entries. See the 2nd screenshot. 

These menu items are UNO commands, and the labels are part of the configuration, which is read during startup (en-US), and don't change. Currently we cannot change configuration per view. Language switching, that works for other resources, does not work here.

On the other hand, we rely on English UNO command labels when we do client side localization. The Javascript code in the browser expects English strings, and translates them locally to target language for main menu for example.
Comment 1 Andras Timar 2019-01-05 12:00:21 UTC
Created attachment 148062 [details]
a Chart popup menu
Comment 2 Aron Budea 2019-01-20 18:18:04 UTC
Confirmed.
Comment 3 Andras Timar 2019-12-01 12:03:03 UTC
We do not tunnel spellchecker and chart popup menus any more. Rather we build them client side with JS code. Localization uses the l10n framework client side. 

Fixed on master branches of core and online by Tamas Zolnai (multiple commits).