No language texts but identifiers
Hello,
After Filament v3 installed (thanks !), I have a bug with the text labels (not displayed instead of the identifiers).
Have you any idea to resolve this problem ?
Thank's you very much !
Solution:Jump to solution
Please run
php artisan filament:upgrade
, recompile any frontend assets you may have, clear your browser cache, and delete the /resources/views/vendor
directory if it exists. If the problem still persists, please reply to this message and let us know.15 Replies
Solution
Please run
php artisan filament:upgrade
, recompile any frontend assets you may have, clear your browser cache, and delete the /resources/views/vendor
directory if it exists. If the problem still persists, please reply to this message and let us know.It's good ! I have used "fr_FR" for locale in config/app.php and I have changed to "fr" and now, it's work. Thanks !
I'm gonna use this question to ask something, I am just trying to translate some auth pages but even though I published the translation files it doesnt matter what I change that it doesn't show on the site.
I have cleared laravel's cache, my browser's cache... and nothing. However if I edit the lang file directly inside vendor the change shows straight away
how's your lang folder looks like?
Like this
just run the command as the documentation says to publish them all and removed the ones that i am not going to use
try running
php artisan optimize:clear
wait
your vendor is wrong
its filament-panels
not filament
and lolmmmm I had an issue when created the project that installed me filament alpha121 version
i had to run composer update to get it up to date
maybe i published the translations with the alpha121 version
oh yeah, in the last days of beta version some components got their namespace changed from
filament
to filament-panels
update to v3.0.0, delete the old translations then publish and edit againgot it, thank you bro
By the way @Filament the structure of the login.php file in spanish does not have the same structure as the english version
Notice the spanish version on the left has the key "buttons" instead of "actions". Perhaps other translations have the same issue.
probably some translations need some update, yeah
you can PR a fix, or perhaps @hey.csar , @hanszuy both are translation managers for the ES lang
@abelcobreros you also can run
php artisan filament:check-translations es
and see which translation keys are missingNice didn't know that command. Would love to help with the project to be honest but my time is very limited. I will try to get it fixed and see if I can submit a PR.
no worries