Description: UI: The Arab language is listed as {sd-Arab-PK} in the drop down list for the User Interface language Steps to Reproduce: 1. Alt+F12 (Options) 2. Language settings -> Languages 3. Click on the user Interface language drop down menu. Scroll to the top of the list -> notice {sd-Arab-PK} Actual Results: {sd-Arab-PK} is shown instead of a proper description Expected Results: A proper description Reproducible: Always User Profile Reset: No Additional Info: Version: 5.4.0.3 Build ID: 7556cbc6811c9d992f4064ab9287069087d7f62c CPU threads: 4; OS: Windows 6.2; UI render: default; Locale: nl-NL (nl_NL); Calc: CL User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Created attachment 135042 [details] Screenshot
It's the expected behaviour. Please see: https://cgit.freedesktop.org/libreoffice/core/commit/?id=bde834ee6b0cb43cebece47cac55cc9b80aadc24 Closing as RESOLVED NOTABUG
This is actually a regression, as in version 4.0.0.3 it still read Sindhi, but in 4.4.0.3 it read sd-Arab-PK. Possibly the following commit is the cultprit: https://cgit.freedesktop.org/libreoffice/core/commit/?id=8697b72ef81aab80b4fd657e5f8d68c9904735dd author Eike Rathke <erack@redhat.com> 2013-10-25 17:35:20 (GMT) committer Eike Rathke <erack@redhat.com> 2013-10-25 17:39:11 (GMT) Sindhi 'sd-PK' => 'sd-Arab-PK'
@Eike, Can you comment on this one?
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Actually the "{sd-Arab-PK}" is correct here because the "Sindhi" language listbox entry we have is for LANGUAGE_SINDHI 0x0459 mapped to 'sd-Deva-IN' (that's how MS defined the LCID, see https://msdn.microsoft.com/en-us/library/cc233965), shortcut to 'sd-IN' with suppressed script tag (which suppressing probably may be wrong anyway). That the language "Sindhi" was displayed for our translation's 'sd' (which is in Arabic script hence does not match 'sd-IN') before commit 8697b72ef81aab80b4fd657e5f8d68c9904735dd was by mere chance because 'sd-IN' was the then first 'sd-*' locale known, however mapping the 'sd' translation to 'sd-IN' was always wrong. That commit then introduced 'sd-Arab-PK' (as an override for 'sd-PK') and a follow-up commit efa1f08be8194ed97a4b48effd0bbe109d5c2164 changed ordering so 'sd-PK' is encountered first (and then overridden by 'sd-Arab-PK') to match our translation, this for the correct LANGUAGE_SINDHI_PAKISTAN 0x0859, but for which a language listbox entry doesn't exist so the BCP 47 language tag is displayed. Long story short: we'll need a new language listbox entry, and reword the existing one.
Eike Rathke committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=2f058c33c85958c77adf103da1865aae333126e9 Resolves: tdf#110751 add "Sindhi, Arabic" to language list It will be available in 6.2.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.