How to translate login page
I see there is a language file at
vendor/filament/filament/resources/lang/en/pages/auth/login.php
Where/how exactly do I bring this into my own project's lang/
directory to override things?
I've attempted:
lang/vendor/filament/filament/resources/lang/en/pages/auth/login.php
lang/vendor/filament/en/login.php
lang/en/login.php
without any luck.Solution:Jump to solution
php artisan vendor:publish
then find the filament lang files in the prompt.3 Replies
Solution
php artisan vendor:publish
then find the filament lang files in the prompt.Thank you @awcodes , that was super easy to find. It was in
Filament\FilamentServiceProvider
for anyone that might find this in the future.you can use Plugins Language Switch
https://filamentphp.com/plugins/bezhansalleh-language-switch#:~:text=included%20(not%20excluded).-,Both%20arguments%20can%20be%20provided%20as%20a%20boolean%20or%20a%20Closure,...,-%23
If it not work with you tel me
Filament
Language Switch by Bezhan Salleh - Filament
Zero config Language Switcher plugin for Filament Panels.