Bug 31086 - Errors in Tibetan, Dzongkha data
Summary: Errors in Tibetan, Dzongkha data
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: localedata (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: 2.39
Assignee: Mike FABIAN
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-24 21:13 UTC by Valery Ushakov
Modified: 2024-01-08 18:40 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed: 2024-01-08 00:00:00


Attachments
Spelling errors in Dzongha data (721 bytes, patch)
2023-11-24 21:13 UTC, Valery Ushakov
Details | Diff
Fix incomplete edit in Tibetan yesexpr (213 bytes, patch)
2023-11-24 21:20 UTC, Valery Ushakov
Details | Diff
Spelling errors in Tibetan data (768 bytes, patch)
2023-11-24 22:14 UTC, Valery Ushakov
Details | Diff
Fix spelling of "phur bu" in both Tibetan and Dzongkha (388 bytes, patch)
2023-11-24 22:31 UTC, Valery Ushakov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Valery Ushakov 2023-11-24 21:13:53 UTC
Created attachment 15227 [details]
Spelling errors in Dzongha data

Tibetan/Dzongkha locale data have multiple typos, primarily in LC_TIME data.

Some names have incorrect "pha" instead of "pa" at the end.

"First" is "dang po", not "dang pa".

Weirdly, some superscribed "sa" was reordered with the next subscribed letter (in "spyi", "skar", "snga")
Comment 1 Valery Ushakov 2023-11-24 21:20:49 UTC
Created attachment 15228 [details]
Fix incomplete edit in Tibetan yesexpr

Tibetan locale was obviously adapted from the Dzongkha locale.  The yesstr was edited to reflect the different spelling, but the short single-letter answer in yesstr was not.  It still has "a" for Dzongkha "in", but should be "ya" for Tibetan "yin".
Comment 2 Valery Ushakov 2023-11-24 22:14:44 UTC
Created attachment 15229 [details]
Spelling errors in Tibetan data

This patch fixes the same spelling errors as the first patch fixes in Dzongkha.  The text is the same and with this patch it's fixed the same way.
Comment 3 Valery Ushakov 2023-11-24 22:31:58 UTC
Created attachment 15230 [details]
Fix spelling of "phur bu" in both Tibetan and Dzongkha

Missed this in the first round of fixes.  It's "phur bu", not "pur bu".
Comment 4 Valery Ushakov 2023-11-24 22:40:48 UTC
Data is inconsistent about final tsheg (<U0F0B>) which is a syllable terminator.  But I may be missing bigger picture there - if it should be consistently absent it should be dropped from bo_CN lang_name.
Comment 5 Sourceware Commits 2024-01-08 18:33:07 UTC
The master branch has been updated by Mike Fabian <mfabian@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=460f26e51b5de4df04c92231ab5943f52a736651

commit 460f26e51b5de4df04c92231ab5943f52a736651
Author: Valery Ushakov <uwe@NetBSD.org>
Date:   Mon Jan 8 16:04:59 2024 +0100

    localedata: dz_BT: Fix spelling errors in Dzongha data
    
    Resolves: BZ # 31086
Comment 6 Sourceware Commits 2024-01-08 18:33:12 UTC
The master branch has been updated by Mike Fabian <mfabian@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c4f648ed4d0a8fe44bb0d48ffb908c3337face9e

commit c4f648ed4d0a8fe44bb0d48ffb908c3337face9e
Author: Valery Ushakov <uwe@NetBSD.org>
Date:   Mon Jan 8 16:08:07 2024 +0100

    localedata: bo_CN: Fix incomplete edit in Tibetan yesexpr
    
    Resolves: BZ # 31086
Comment 7 Sourceware Commits 2024-01-08 18:33:17 UTC
The master branch has been updated by Mike Fabian <mfabian@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=6b8419ba5f3265a9f2b52f48e48024925fb1a0b4

commit 6b8419ba5f3265a9f2b52f48e48024925fb1a0b4
Author: Valery Ushakov <uwe@NetBSD.org>
Date:   Mon Jan 8 16:39:31 2024 +0100

    localedata: bo_CN: Fix spelling errors in Tibetan data
    
    Resolves: BZ # 31086
Comment 8 Sourceware Commits 2024-01-08 18:33:23 UTC
The master branch has been updated by Mike Fabian <mfabian@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4c2b356be54b4c08bbe986771a0fbd74df9d08a0

commit 4c2b356be54b4c08bbe986771a0fbd74df9d08a0
Author: Valery Ushakov <uwe@NetBSD.org>
Date:   Mon Jan 8 16:44:28 2024 +0100

    localedata: dz_BT, bo_CN: Fix spelling of "phur bu" in both Tibetan and Dzongkha
    
    Resolves: BZ # 31086
Comment 9 Mike FABIAN 2024-01-08 18:39:51 UTC
I also converted the dz_BT and bo_CN locale sources to UTF-8:

https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=e171ad7d596878d0d4f21a0713d8dbb8d8788d7e
Comment 10 Mike FABIAN 2024-01-08 18:40:08 UTC
Fixed in glibc master.