Skip to content

Give no initials for Khmer and Tibetan names, as for Thai, Burmese and Lao (ស៊ុន សុខា gives initials ស. ស.) #1380

Open

Description

@derek73

#1256 gave Thai and the Myanmar script a row in the script-property table saying they write no initials. Lao, Khmer and Tibetan have no row, so they read as Latin does: initials() takes the first character of each word, a leading vowel sign included.

Input today
ສົມຊາຍ ໃຈດີ initials 'ສ. ໃ.' (ໃ is a vowel written before its consonant)
ស៊ុន សុខា initials 'ស. ស.'
བཀྲ་ཤིས་ ཚེ་རིང་ initials 'བ. ཚ.'
สมชาย ใจดี (Thai, since #1256) initials ''

Questions

  • Does each script write initials? decisions/script-properties holds the recipe: count CLDR's locale-authored name patterns that produce an initial (lo, km, bo), after the copy test that caught Burmese's block being English's.
  • Where one does not, it joins the no-initials column, with the same consequences Thai accepted: empty initials(), a letter with a period not read as an initial, and the name match reading a single letter as a whole word.
  • Does each write period abbreviations? Lao titles such as ທ່ານ are spelled out; Khmer and Tibetan are not known.
  • Tibetan separates syllables with the tsheg (་), not a space. Is a "word" there what initials() should count at all?

Activity

  1. self-assigned this
    on Nov 13, 2026
  2. added
    non-latin-script
    initials
    on Nov 13, 2026
  3. changed the title [-]Should `initials()` skip Lao, Khmer and Tibetan, as it skips Thai and Burmese? (`ສົມຊາຍ ໃຈດີ` gives 'ສ. ໃ.')[/-] [+]Give no initials for Khmer and Tibetan names, as for Thai, Burmese and Lao (`ស៊ុន សុខា` gives initials `ស. ស.`)[/+] on Nov 21, 2026
  4. derek73 commented on Nov 21, 2026

    @derek73
    OwnerAuthor

    Part shipped in #1507 (2026-11-20); this issue stays open for the rest. Lao now writes no initials, as Thai and Burmese do: parse("ສົມຊາຍ ໃຈດີ").initials() gives ''. CLDR's Lao patterns use an initial in 0 of 37.

    Still open: Khmer and Tibetan, each needing the same count before it is decided, and for Tibetan the question of what a word is, its syllables being divided by the tsheg and not a space. The title now names those.

    🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementinitialsnon-latin-script

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions