0

We have file: web/template/checkout/order-comment-block.html

in this file I see code:

 <span class="chars-label">
 <!-- ko i18n: 'remaining characters'--><!-- /ko -->
 </span> 

I created new folder i18n and here I add translate text:

"Leave A Comment","Wiadomość do zamówienia"
"Enter your comment...","Zostaw swój komentarz..."

After cache clean still text are not translated. Any solution how to translate this text?

asked Apr 25, 2020 at 12:03
9
  • your multistore website??? Commented Apr 25, 2020 at 12:08
  • Yes, mulitwebsite. One website assigned to one store view. Commented Apr 25, 2020 at 12:10
  • check this --- magento.stackexchange.com/questions/229607/… Commented Apr 25, 2020 at 12:13
  • @Mohit, once again thank you for your support ;) I have one more question for you. Can you please check our question here: magento.stackexchange.com/questions/311299/… Commented Apr 25, 2020 at 12:31
  • Like example here: zanetabaran.com/… But how to set example only for this one specific shipping? Commented Apr 25, 2020 at 12:33

1 Answer 1

0

You check two link most useful i think :-

Magento 2- How to translate text in Knockout .html file

Magento 2 - Translations : how does js-translation.json get populated? Mine is empty!

And this links use for multi store website text translate.

Hope help you

Thanks ...

answered Apr 25, 2020 at 17:57

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.