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

Improved language autodetection process #561

Merged
merged 1 commit into from
Aug 25, 2023
Merged

Improved language autodetection process #561

merged 1 commit into from
Aug 25, 2023

Conversation

Diewy
Copy link
Contributor

@Diewy Diewy commented Aug 23, 2023

As proposed in issue #560

The language autodetection process prioritizes finding translations for the complete language code. If translations for the complete code are unavailable, the detection mechanism then resorts to searching for the language-only version.

E.g. When en-GB is detected (in browser or document), and the translation 'en' is available, it will use that.

@vercel
Copy link

vercel bot commented Aug 23, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
cookieconsent-docs ⬜️ Ignored (Inspect) Visit Preview Aug 23, 2023 9:28am

@netlify
Copy link

netlify bot commented Aug 23, 2023

Deploy Preview for cookieconsentv3-playground canceled.

Name Link
🔨 Latest commit 1ec2561
🔍 Latest deploy log https://app.netlify.com/sites/cookieconsentv3-playground/deploys/64e5d140cd697100086fbd7a

@orestbida orestbida merged commit 7f02f48 into orestbida:v3.0-beta Aug 25, 2023
5 checks passed
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.

2 participants