Laravel – Change the first segment of the current URL
I have a multilanguage site: en, hu, ro atm. The base URL is example.com/{locale} e.g. example.com/en. The language detection is just checking the locale parameter of the route. I want it to stay this way. I have a language selector…