Bug 138751 - Not localized items in notebookbar customization
Summary: Not localized items in notebookbar customization
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Localization (show other bugs)
Version:
(earliest affected)
7.0.5.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.2.0
Keywords:
: 143870 (view as bug list)
Depends on:
Blocks: Not-Localizable
  Show dependency treegraph
 
Reported: 2020-12-08 18:57 UTC by Stanislav Horacek
Modified: 2023-08-22 17:25 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Notebookbar customization with missing KeyIDs (qtz locale) (64.70 KB, image/png)
2020-12-08 18:59 UTC, Stanislav Horacek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stanislav Horacek 2020-12-08 18:57:57 UTC
Description:
In Tools - Customize - Notebookbar tab, there are "Scope" and "Target" dropdowns whose items cannot be localized.



Actual Results:
 

Expected Results:
 


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Stanislav Horacek 2020-12-08 18:59:00 UTC
Created attachment 167988 [details]
Notebookbar customization with missing KeyIDs (qtz locale)
Comment 2 Ming Hua 2020-12-09 04:26:12 UTC Comment hidden (obsolete)
Comment 3 Ming Hua 2020-12-09 04:56:32 UTC Comment hidden (obsolete)
Comment 4 Stanislav Horacek 2020-12-09 07:16:03 UTC
To clarify it: I don't mean the "Scope" and "Target" labels (they are indeed localized), but the content of their dropdowns ("LibreOfficeDev Writer - Tabbed" and "All commands", "File Tab", "File Tab | File" etc.).
Comment 5 Gabor Kelemen (allotropia) 2021-04-21 06:35:16 UTC
Confirming with

Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: b08a2b299418db84a71fe625f127f0484746010e
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: hu-HU
Calc: threaded

Two problems here:
- some strings are hardcoded into cui/source/customize/SvxNotebookbarConfigPage.cxx
- most others come from the notebookbar ui files, where the id property of the sfxlo-PriorityHBox sfxlo-PriorityMergedHBox svtlo-ManagedMenuButton objects is used. 
This can not be marked as localizable with the Glade tool, as these are usually not intended to be user visible.
Comment 6 Ming Hua 2021-04-21 12:59:26 UTC
Alas, I was looking at the wrong places.  Indeed I can also reproduce with 7.0.5:
Version: 7.0.5.2 (x64)
Build ID: 64390860c6cd0aca4beafafcfd84613dd9dfb63a
CPU threads: 2; OS: Windows 10.0 Build 19041; UI render: default; VCL: win
Locale: zh-CN (zh_CN); 界面: zh-CN
Calc: threaded

(In reply to Stanislav Horacek from comment #4)
> To clarify it: I don't mean the "Scope" and "Target" labels (they are indeed
> localized), but the content of their dropdowns ("LibreOfficeDev Writer -
> Tabbed" and "All commands", "File Tab", "File Tab | File" etc.).
In addition to the contents of the two dropdown list, there are also some strings scattered in the "Assigned Commands" list, similar to those in "Target" dropdown.
Comment 7 Commit Notification 2021-04-27 13:28:39 UTC
Gabor Kelemen committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/8ebb54c6c4937a151f2185e8f54b2c39e446368a

tdf#138751 Localize items in Notebookbar customization dropdowns

It will be available in 7.2.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.
Comment 8 Ming Hua 2021-08-14 12:57:48 UTC
*** Bug 143870 has been marked as a duplicate of this bug. ***
Comment 9 QA Administrators 2023-08-15 03:15:15 UTC Comment hidden (obsolete)
Comment 10 Stanislav Horacek 2023-08-22 17:25:29 UTC
I see it still not localized in:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 47ca3f1f762352b488d58b3bf23d5776576f1cca
CPU threads: 4; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: cs-CZ
Calc: threaded