Bug 159796 - All <embed> tags of error codes are broken with the Uyghur locale (XHP)
Summary: All <embed> tags of error codes are broken with the Uyghur locale (XHP)
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Localization (show other bugs)
Version:
(earliest affected)
24.2.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-20 14:17 UTC by Maddes
Modified: 2024-02-23 16:02 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maddes 2024-02-20 14:17:21 UTC
Description:
Missing conntent for error codes on https://help.libreoffice.org/latest/ug/text/sbasic/shared/03120307.html



Steps to Reproduce:
1. Visit https://help.libreoffice.org/latest/ug/text/sbasic/shared/03120307.html
2. See missing content under Error codes


Actual Results:
Missing error codes

"D'oh! You found a bug (text/sbasic/shared/00000003.xhp#err5 not found)."

Expected Results:
Error codes listed


Reproducible: Always


User Profile Reset: No

Additional Info:
./.
Comment 1 Rafael Lima 2024-02-21 12:04:25 UTC
This is weird because the en-US version is working fine.

https://help.libreoffice.org/latest/en-US/text/sbasic/shared/03120307.html

The problem also happens with other functions such as Left (with Uyghur "ug" locale):

https://help.libreoffice.org/latest/ug/text/sbasic/shared/03120303.html

I can't see why right now, but this seems related to the locale.
Comment 2 Rafael Lima 2024-02-21 12:16:48 UTC
Every embed of error codes is not working in the "ug" locale:

https://help.libreoffice.org/latest/ug/text/sbasic/shared/03103000.html

I could not find this issue with any other locale.
Comment 3 Olivier Hallot 2024-02-23 16:02:04 UTC
The issue raises because the translation is wrong and has not respected the id of the tag <variable>:

<variable id="solver">قورال - يېشىمچىنى تاللاڭ</variable>

id="" cannot be translated or changed. In this case it must be 

<variable id="err5">قورال - يېشىمچىنى تاللاڭ</variable>

Almost all error codes in the ug translation of file text/sbasic/shared/0000003.xhp is in error. See the weblate page of err5

https://translations.documentfoundation.org/translate/libo_help-master/textsbasicshared/ug/?q=+context%3Apar_id3150891&sort_by=-priority%2Cposition&checksum=

The ug translation leader must be informed to fix it.