Closed xiki808 closed 1 year ago
The loadLanguageAsync works great and I like it, but the URL doesn't change to reflect the language. Maybe I am missing something so I'm posting here.
loadLanguageAsync
I know I can send an ajax call to get the same result, but would be nice if it works straight away through this functionality.
I'm using laravel 9 with Vite and Inertia.
On full page reload?
If so, you can change the <html lang="en"> argument.
<html lang="en">
The
loadLanguageAsync
works great and I like it, but the URL doesn't change to reflect the language. Maybe I am missing something so I'm posting here.I know I can send an ajax call to get the same result, but would be nice if it works straight away through this functionality.
I'm using laravel 9 with Vite and Inertia.