[ ] π Documentation (updates to the documentation, readme or JSdoc annotations)
[x] π Bug fix (a non-breaking change that fixes an issue)
[ ] π Enhancement (improving an existing functionality like performance)
[ ] β¨ New feature (a non-breaking change that adds functionality)
[ ] π§Ή Chore (updates to the build process or auxiliary tools and libraries)
[ ] β οΈ Breaking change (fix or feature that would cause existing functionality to change)
π Description
Resolves #2822
This changes the cookie behavior, if the cookie locale is set to something truthy but does not match a locale it will be overwritten to the configured defaultLocale or undefined if no default has been set.
The only real use case I can imagine is when websites remove locales or when they update a locale code, this would lead to unexpected behaviour.
π Linked issue
2822
β Type of change
π Description
Resolves #2822
This changes the cookie behavior, if the cookie locale is set to something truthy but does not match a locale it will be overwritten to the configured
defaultLocale
orundefined
if no default has been set.The only real use case I can imagine is when websites remove locales or when they update a locale code, this would lead to unexpected behaviour.
π Checklist