How to choose the default locale for Filament? editing "locale" in config/app.php dindn't work

The default language of Filament now is in English, I want to change it to Arabic so I changed the value of locale in config/app.php but the language in Filament is still English!

The locale outside Filament is "ar" which is expected, but in Filament routes the locale is "en".

I have the translation files of Filament Arabic.

I use bezhanSalleh/filament-language-switch and I change the language using it without any problem.
299295205-3fe81fbd-79d9-4546-b518-7068d96372ae.png
299295206-03bdfe0c-e1a6-442e-a13c-c94f918acd2d.png
299295348-e44e33c6-73c5-4773-9915-e996e23c63be.png
299296081-1c4f4615-e288-4421-bdcf-4e89876a7d42.png
Was this page helpful?