magento/magento2#18939: [Forwardport] fixed js translation. #19174
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Forwardport for #18959 and #7849
"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 (*)