-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Negotiating the language from the browser #12
Comments
Currently Loki does not support that feature. I'm planning on creating a new version in which I will maybe include this. Do you want me to ping you if I implement it? |
Yes thank you! |
I subscribed to this issue, so the ping will be automatic. |
any news here? |
Not yet. I was trying to create a new version of loki which would tightly integrate with Laravel routing, but I failed. I'll give it another go, once I recover from the fail xD |
I think we can use a middleware to negotiate the language... could be? |
Yes, I'll try doing that. |
Great news! 🎉 |
With mcamara/laravel-localization you can get the default language trough the browser when the URL does not explicitly state it.
How can I do that with Loki?
The text was updated successfully, but these errors were encountered: