-
Notifications
You must be signed in to change notification settings - Fork 72
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
Fix translations on customer account page #164
Fix translations on customer account page #164
Conversation
micka-fdz
commented
Mar 17, 2022
Questions | Answers |
---|---|
Description? | This PR fixes customer account page translations |
Type? | bug fix |
BC breaks? | no |
Deprecations? | no |
Fixed ticket? | Fixes PrestaShop/PrestaShop#27942. |
How to test? | See issue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your PR @micka-fdz 👍
can you explain how and why you generated these keys ?
Old version of this module (v1.1.0) have template files for both PS versions:
Today we just have one template file In my PR, I just removed translations with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your information
I'm not sure about renaming customerpersonaldata17
into customerpersonaldata
, what if we add a new file for the next major (prestashop 8.0 ?)
@PrestaShop/prestashop-core-developers what do you guys think ? I'm not so familiar with this module
@matthieu-rolland module translation system works like that: translation key is equal to file name. My PR just fixed translations for current template file. It's a common issue on this module. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanx @micka-fdz, sorry for the misunderstanding 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @micka-fdz ,
Thanks for the PR !
Looking good to me.
Tested with multiple different languages, translation is always correct.
This is QA ✅
Thanks @micka-fdz & @florine2623 |