Skip to content

CLDR-18144 Improve formats of locales, especially for menus #4537

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

macchiati
Copy link
Member

@macchiati macchiati commented Mar 27, 2025

CLDR-18144

  • This PR completes the ticket.

Tool for investigating which languages / regions could have core and extension values.
Prints lists of possible breakdowns, which then need to be filtered manually.

Resulting recommendations in https://docs.google.com/spreadsheets/d/1bbC5iOFVK0A4Hla-1xIGtgwAAOqtj4PWb0llFc-sgOY/edit?gid=386214050#gid=386214050

ALLOW_MANY_COMMITS=true

@macchiati macchiati changed the title CLDR-18144 Initial investigation CLDR-18144 Improve formats of locales, especially for menus Mar 30, 2025
@macchiati macchiati marked this pull request as ready for review April 11, 2025 11:38
@macchiati macchiati requested review from sffc and pedberg-icu April 11, 2025 11:40
@AEApple
Copy link
Contributor

AEApple commented Apr 12, 2025

Will languages be able to re-order the extension and the core parts? Do we know if there are languages where for certain combinations the extension may appear on different sides of the core word (kinda like in French where most adjectives follow the noun, while a handful precede the noun? https://en.wikipedia.org/wiki/French_grammar#Adjectives

@macchiati
Copy link
Member Author

Will languages be able to re-order the extension and the core parts? Do we know if there are languages where for certain combinations the extension may appear on different sides of the core word (kinda like in French where most adjectives follow the noun, while a handful precede the noun? https://en.wikipedia.org/wiki/French_grammar#Adjectives

The extension use the same mechanism as the language and (script, region, variant, keys, etc). That is, someone would see in a menu (where the core/extension mechanism is used — it is optional) as the following (look at the Kurdish lines for the differences)

NEW

...
French
Kurdish (Kurmanji)
Kurdish (Sorani)
Serbian (Cyrillic)
Serbian (Latin)
Swedish (Sweden)
Swedish (Finland)
...

OLD

...
French
Kurdish
Serbian (Cyrillic)
Serbian (Latin)
Sorani Kurdish
Swedish (Sweden)
Swedish (Finland)
...

See also the regions' part of the spreadsheet in the ticket.

Copy link
Member

@sffc sffc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I looked at the spreadsheet and there are some interesting findings that should be discussed.

The tool itself looks like a proof-of-concept; is it your intent to eventually land this as part of a test?

@macchiati
Copy link
Member Author

macchiati commented Apr 15, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants