F
Filament17mo ago
ndevfr

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:
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.
Jump to solution
15 Replies
Solution
Filament
Filament17mo ago
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.
ndevfr
ndevfrOP17mo ago
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 !
Abel Cobreros
Abel Cobreros17mo ago
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
Saade
Saade17mo ago
how's your lang folder looks like?
Abel Cobreros
Abel Cobreros17mo ago
Like this
Abel Cobreros
Abel Cobreros17mo ago
just run the command as the documentation says to publish them all and removed the ones that i am not going to use
Saade
Saade17mo ago
try running php artisan optimize:clear wait your vendor is wrong its filament-panels not filament and lol
Abel Cobreros
Abel Cobreros17mo ago
mmmm 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
Saade
Saade17mo ago
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 again
Abel Cobreros
Abel Cobreros17mo ago
got 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
Abel Cobreros
Abel Cobreros17mo ago
Abel Cobreros
Abel Cobreros17mo ago
Notice the spanish version on the left has the key "buttons" instead of "actions". Perhaps other translations have the same issue.
Saade
Saade17mo ago
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 missing
Abel Cobreros
Abel Cobreros17mo ago
Nice 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.
Saade
Saade17mo ago
no worries
Want results from more Discord servers?
Add your server