localized url #72
Unanswered
almaz-free
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I use localized url in my project, like that:
example.com (redirect to example.com/en )
example.com/en
example.com/en/about
example.com/de
example.com/de/about
I use https://github.com/mcamara/laravel-localization package for this, but i cannot configure it for using with laravel-route-attributes.
It use dynamicaly 'prefix' => LaravelLocalization::setLocale() in route, but laravel-route-attributes not support it.
Maybe there is a way to make friends these two packages?
Beta Was this translation helpful? Give feedback.
All reactions