-
Notifications
You must be signed in to change notification settings - Fork 9.4k
fixed js translation #18959
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
fixed js translation #18959
Conversation
|
Hi @torhoehn. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
|
@torhoehn This pull request does not seem good. There are mainly two points I need to emphasize here.
It would be great if you correct it and then do a pull request. |
|
@progammer-rkt Thanks for your feedback, but:
So for now I'll just wait until a maintainer reviews this PR. |
|
@Karlasa What about the unnecessary @torhoehn You are right that there is no guideline for this. But sometimes (most of the time) we should refer the practices ("non-writtern practices") that the core code follows. It is just a suggestion from my side. Whilst as I mentioned. jQuery dependency has to be removed as it is not required in this component. |
|
Hi @VladimirZaets, thank you for the review. |
|
Hi @torhoehn. Thank you for your contribution. Please, consider to port this solution to 2.3 release line. |
"Not yet calculated" for the tax in the summary section in the checkout was not being translated.
Description (*)
Now the correct function call for js translations is made.
Fixed Issues (if relevant)
Manual testing scenarios (*)
Setup a two-store site where the default store uses "en_Us" as the language and the second store uses "es_ES" (Spanish ).
Add Spanish translation for the text: "Not yet calculated" through the design section. i.e, in the file:
app/design/frontend/<Package>/<theme>/i18n/es_ES.csv.Now on the frontend, switch to Spanish store. Then add a product to the cart and go for checkout.
In the payment step, under the summary section, you will see "Not yet calculated" is not translated for the Tax eventhough the same text corresponding to Shipping is translated.
Contribution checklist (*)