-
Notifications
You must be signed in to change notification settings - Fork 911
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Missing translation for reset password email #5376
Comments
Hey @realtebo as you can see, that file is part of core Laravel. I am not 100% sure if https://github.com/Laravel-Lang/lang already provide a translation for it. If not, you can manually add a translation for that string by creating a file in "If you’re having trouble clicking the \":actionText\" button, copy and paste the URL below\ninto your web browser:": "Se tiver problemas em clicar no botão \":actionText\" , copie e cole o seguinte URL no seu browser:", More info on https://laravel.com/docs/10.x/localization#defining-translation-strings Basically, as you can see on the file that you mentioned it runs through @lang directive so you can translate it using Laravel methods. I am closing this as I don't think there is any bug on our side here. Cheers 🙏 |
I confirm, and understand all the line you follow. But I am pretty sure it should be included in the lang file of backpack, if possibile, so when we start a project, localized, it is complete. |
I've edited the docs a little bit more to make it clear that some translations are not provided by backpack here: Laravel-Backpack/docs#523 We think the https://github.com/Laravel-Lang/lang package is an easy way to have all those strings translated in most of the languages. If something is missing you can submit a PR there, I am sure they will appreciate it 🙏 Let me know if I can help you with something else. |
Bug report
What I did
I tried to reset a password from an italian localized installation
I already have config/app.php setup for
And in config/backpack/crud.php I have
What I expected to happen
I expected to see the reset password email fully localized into italian
What happened
A part of email is not translated
This is the default email.blade.php file for notifications
What I've already tried to fix it
Actually we exported the email.blade.php and forced italian text
Is it a bug in the latest version of Backpack?
After I run
composer update backpack/crud
the bug... is it still there?Yes
Backpack, Laravel, PHP, DB version
When I run
php artisan backpack:version
the output is:The text was updated successfully, but these errors were encountered: