You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone!
Does anyone know how to correctly execute localization in Laravel 9 + Vue 3+ Inertia?
Currently I have a select where I make a post to a function to update the localization in this way, but I have to refresh the entire site to see the change.
Note that when making the post, HanlderInertia is not updating with the session variable. I'm not really sure where else to look if I have something wrong.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello everyone!
Does anyone know how to correctly execute localization in Laravel 9 + Vue 3+ Inertia?
Currently I have a select where I make a post to a function to update the localization in this way, but I have to refresh the entire site to see the change.
LocaleController
HandleInertiaRequests
Locale (middleware)
Submit from component vue
Note that when making the post, HanlderInertia is not updating with the session variable. I'm not really sure where else to look if I have something wrong.
Beta Was this translation helpful? Give feedback.
All reactions