We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
trunk
Error messages (like "End date needs to be after the start date") should be localized to the users language
Only the english messages are shown
This because here https://github.com/shopware/platform/blob/e91d42f995e192aac6f2504a950ad55fb9b13ccc/src/Core/Checkout/Promotion/Validator/PromotionValidator.php#L245-L251 and all the other buildViolation calls a snippet key is defined, but the snippet is not, so the default english fallback is used.
buildViolation
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
PHP Version
trunk
Shopware Version
trunk
Expected behaviour
Error messages (like "End date needs to be after the start date") should be localized to the users language
Actual behaviour
Only the english messages are shown
How to reproduce
This because here
https://github.com/shopware/platform/blob/e91d42f995e192aac6f2504a950ad55fb9b13ccc/src/Core/Checkout/Promotion/Validator/PromotionValidator.php#L245-L251
and all the other
buildViolation
calls a snippet key is defined, but the snippet is not, so the default english fallback is used.The text was updated successfully, but these errors were encountered: