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?
-
your multistore website???Mohit Patel– Mohit Patel2020年04月25日 12:08:59 +00:00Commented Apr 25, 2020 at 12:08
-
Yes, mulitwebsite. One website assigned to one store view.Sylvester– Sylvester2020年04月25日 12:10:04 +00:00Commented Apr 25, 2020 at 12:10
-
check this --- magento.stackexchange.com/questions/229607/…Mohit Patel– Mohit Patel2020年04月25日 12:13:52 +00:00Commented 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/…Sylvester– Sylvester2020年04月25日 12:31:49 +00:00Commented Apr 25, 2020 at 12:31
-
Like example here: zanetabaran.com/… But how to set example only for this one specific shipping?Sylvester– Sylvester2020年04月25日 12:33:45 +00:00Commented Apr 25, 2020 at 12:33
1 Answer 1
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 ...