Bug 122506 - Unlocalized character styles dropdown
Summary: Unlocalized character styles dropdown
Status: NEW
Alias: None
Product: LibreOffice Online
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: difficultyBeginner, easyHack, skillCpp, topicUI
Depends on:
Blocks: LOOL-Dialog-Translations
  Show dependency treegraph
 
Reported: 2019-01-05 11:15 UTC by Andras Timar
Modified: 2019-03-25 17:33 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
screenshot (52.40 KB, image/png)
2019-01-05 11:15 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:15:20 UTC
Created attachment 148059 [details]
screenshot

1. Open a Writer document in localized LibreOffice Online, e.g. in German version. 
2. Open Format -> Bullets and Numbering from menu, and select the Customize tab. (In German: Format -> Aufzählungszeichen und Nummerierung, Anpassen)
3. The character styles dropdown is in English as it is shown on the screenshot.

The relevant piece of code could be in here:
https://opengrok.libreoffice.org/xref/core/sw/source/core/doc/DocumentStylePoolManager.cxx
Comment 1 Xisco Faulí 2019-01-07 11:40:05 UTC
Moving to NEW and turning it into an easyhack since there's a codepointer
Comment 2 Michael Stahl (CIB) 2019-03-25 17:33:07 UTC
this is a specific symptom of a broader problem: the localized built-in style names are stored in the model of all applications (at least sw and sc, pretty sure also sd), instead of the model storing only the en-US built-in style names and the UI creating the translations.

there is bug 123397 for an ODF interop issue with the same cause; the solution proposed there doesn't look like an easy-hack.