Skip to content
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

Describe relation between region locale and country locale when a country is not found #37745

Merged
merged 3 commits into from
Jun 20, 2022

Conversation

eric-burel
Copy link
Contributor

Hi folks, I recently encounted this scenario where "fr-CA" users were redirected to "en-US" (my default) instead of "fr-FR" which I explicitly support. I needed to add "fr" country code to my configuration + add some logic to fetch the best matching locale in this scenario.

Documentation / Examples

  • Make sure the linting passes by running pnpm lint
  • The examples guidelines are followed from our contributing doc

timneutkens
timneutkens previously approved these changes Jun 20, 2022
@ijjk ijjk merged commit 5035075 into vercel:canary Jun 20, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants