loki
loki copied to clipboard
Negotiating the language from the browser
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?
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! 🎉