how to set locale from dashboard in filament
how to set locale from dashboard in filament
9 Replies
Filament
Language Switch by Bezhan Salleh - Filament
Zero config Language Switcher plugin for Filament Panels.
Why would you not do this in "config/app" ?
i want user choose from dashboard locale then active this locale in config
i am using it but i want to set locale form dashboard by user not bu developer . i want to it dynmic
my understanding of the plugin is that it adds a dropdown to the topbar to do just that.
do create table for locale ( locale and flag) as column then update config file with this table ?
are you trying to have the user set their locale and store it in the database?
yes
i want to make setlocale dynmic from user dashboard
not by dev
then you would just have them enter it in a standard form. then use a middleware to
or similar
or you could do it in a service provider boot method too, probably.
ok i will try this solution thanks