-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
detectLocaleFromCookie helper #18
Labels
feature
Includes new features
Comments
I'd be happy to send a PR. |
Thank you for your feedback! You are right, it would be more convenient for us if there was a helper. see more ref: |
Not sure if you want me to do it. If so, I will need #25 first. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Clear and concise description of the problem
The Only default helper to resolve the locale is
detectLocaleFromAcceptLanguageHeader
. To get it from a cookie, one needs to write custom code.Suggested solution
Implement a
detectLocaleFromCookie
helperAlternative
Using custom function is already possible, but since there is a helper for accept-language already, more helpers make sense.
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: