Skip to content

Conversation

awesomerobot
Copy link
Member

@awesomerobot awesomerobot commented May 13, 2025

We weren't normalizing the locale, so if you're trying to use zh_CN you're not going to get a match for zh-CN

After this change we should cover common capitalization and dash/underscore variations

Reported here: https://meta.discourse.org/t/custom-header-link-locale-is-not-working-for-some-languages/365933

@awesomerobot awesomerobot merged commit 76ecc5a into main May 13, 2025
5 checks passed
@awesomerobot awesomerobot deleted the ux-normalize-locale branch May 13, 2025 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants