| Summary: | bogus lang-tag in status bar language selector | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Michael Meeks <michael.meeks> |
| Component: | Writer | Assignee: | Eike Rathke <erack> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | medium | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | target:7.3.0 target:7.2.5 | ||
| Crash report or crash signature: | Regression By: | ||
| Attachments: | a document | ||
So I dug deeper into this than anticipated.. Writer has no handling of the LCID 0x0400 LANGUAGE_PROCESS_OR_USER_DEFAULT language/locale concept, in fact it also explicitly doesn't expect our LANGUAGE_SYSTEM locale assigned as character attribution. The status bar is just a cosmetic symptom, the same "{en-GB}" or in 7.3 "English (United Kingdom) {en-GB}" string is displayed in the status bar menu and in the character/paragraph font attribution language list, worse, it appears in both Western and CJK lists.
Coming up with a tentative fix for the language/locale display.
Eike Rathke committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/0f3c19ee61ec371aa32d9f51c3555d3ea8ae9eeb Resolves: tdf#145386 Use "Default" for LANGUAGE_PROCESS_OR_USER_DEFAULT It will be available in 7.3.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. Pending review https://gerrit.libreoffice.org/c/core/+/124204 for 7-2 Eike Rathke committed a patch related to this issue. It has been pushed to "libreoffice-7-2": https://git.libreoffice.org/core/commit/4e2c807f89fe8156f7b803c4de6e932bb9c340d2 Resolves: tdf#145386 Use "Default" for LANGUAGE_PROCESS_OR_USER_DEFAULT It will be available in 7.2.4. 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. Thanks Eike ! sorry it turned out to be more problematic than expected. 7.2.4 was a hotfix release, updating target in status-whiteboard |
Created attachment 176010 [details] a document Loading this simple document - I get a language in the status bar of: English (United Kingdom){en-GB} which is unexpected and looks odd.