https://bugs.documentfoundation.org/show_bug.cgi?id=145566
Bug ID: 145566
Summary: Translation of toolbar names saved in user profile,
blocking changes in future versions
Product: LibreOffice
Version: 7.1.6.2 release
Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
Severity: minor
Priority: medium
Component: Localization
Assignee: [email protected]
Reporter: [email protected]
Blocks: 107636
Description:
When run with localized UI, the translation of toolbar names are saved in the
user profile. So if the UI translators change the translation in a future
version, the user with old user profile will still see the old translation.
This is different behavior than the rest of the UI (where translation changes
are always shown in new versions), and seems not intended, or at least not
documented.
Steps to Reproduce:
1. Start LibreOffice with a fresh user profile and localized (non-English) UI.
2. Open Impress, enable for example "Outline" toolbar via menu "View > Toolbars
> Outline".
3. Close LibreOffice, view the content of the user profile file
$USER_PROFILE_DIR/user/registrymodifications.xcu, see a line containing the
translated name of the toolbar enabled in step 2, in my case (zh-CN UI):
<item
oor:path="/org.openoffice.Office.UI.ImpressWindowState/UIElements/States/org.openoffice.Office.UI.WindowState:WindowStateType['private:resource/toolbar/outlinetoolbar']/UIName"><value
xml:lang="zh-CN">提纲</value></item>
4. (Optional and harder to do) Change the translation of this name, in file
translations/source/<locale>/officecfg/openoffice/Office/UI.po, search for
KeyID 92W6B. Rebuild LibreOffice with new translation, install and start new
LO, observe that translation is not updated. Delete old user profile or start
in Safe Mode, observe that translation is updated now.
Expected Result:
Translated names not saved in user profile. At least not explicitly enabled,
i.e. an (expert?) option defaulting to no.
Version Information:
The steps above are tested with 7.1.7 on Windows 10:
Version: 7.1.7.2 (x64) / LibreOffice Community
Build ID: c6a4e3954236145e2acb0b65f68614365aeee33f
CPU threads: 2; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: zh-CN (zh_CN); UI: zh-CN
Calc: threaded
But I also experienced the same "toolbar name translation not updated" issue
with 7.3/master daily build, presumably the same cause:
Version: 7.3.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: c7500945fc5d5bd2130a2d38be0bd4b15445cd90
CPU threads: 2; OS: Windows 10.0 Build 19043; UI render: default; VCL: win
Locale: zh-CN (zh_CN); UI: zh-CN
Calc: threaded
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=107636
[Bug 107636] [META] User profile (user data/settings) bugs and enhancements
--
You are receiving this mail because:
You are the assignee for the bug.