Skip to content

Maximize and minimize locale codes - #30

Merged
1ec5 merged 1 commit into
mainfrom
1ec5-maximize-24
Feb 19, 2026
Merged

1ec5 merged 1 commit into
mainfrom
1ec5-maximize-24

Conversation

@1ec5

@1ec5 1ec5 commented Feb 18, 2026

Copy link
Copy Markdown
Member

Added the getRelatedLanguageTags() method for getting all the related variations of a given language tag. The current locales now include all these variations. Instead of calling Intl.Locale.prototype.minimize() directly, this implementation generates the powerset of language tags that are less specific than the maximized language tag.

Fixes #24.

Added a method returning all the related variations of a given language tag. The current locales now include all these variations.
@1ec5 1ec5 self-assigned this Feb 18, 2026
@1ec5 1ec5 added the enhancement New feature or request label Feb 18, 2026
@1ec5
1ec5 merged commit 02d4e6a into main Feb 19, 2026
3 checks passed
@1ec5
1ec5 deleted the 1ec5-maximize-24 branch February 19, 2026 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Maximize and minimize locale codes

1 participant