Skip to content

[i18n]: fix sr-SP not being accepted#6727

Open
Evanroby wants to merge 1 commit intoCog-Creators:V3/developfrom
Evanroby:sr-SP
Open

[i18n]: fix sr-SP not being accepted#6727
Evanroby wants to merge 1 commit intoCog-Creators:V3/developfrom
Evanroby:sr-SP

Conversation

@Evanroby
Copy link
Copy Markdown
Contributor

@Evanroby Evanroby commented Apr 4, 2026

Description of the changes

Fixes #5812

As sr-SP is not a valid ISO 3166-1 code, Babel is throwing an UnknownLocaleError. The fix I have made makes an override to that, so sr-SP gets accepted now

Have the changes in this PR been tested?

Yes

@github-actions github-actions bot added the Category: Core - i18n This is related to the i18n core API or locale files. label Apr 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Category: Core - i18n This is related to the i18n core API or locale files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[p]set locale does not accept "Serbian (Cyrillic)" as valid

1 participant