Some strings from the Woocommerce widget are not translating correctly
-
Hello,
I have some problems. Some strings from the Woocommerce widget (on the pages: https://im-ua.com/cart/ and https://im-ua.com/chrckout/) are not translating correctly.
I know some users have the same problem (Woocommerce strings not translating correctly | www.remarpro.com).
I read your article (Translating WooCommerce – WooCommerce) very carefully and did all 4 options you suggested (Downloading translations from translate.www.remarpro.com manually; Creating custom translations with Loco Translate; Creating custom translations with PoEdit’ Translate or replace default text).
Without effect.
I opened the .po file and checked for all those words that were not translated. The result – all words with a translation into Ukrainian are in the .po file.I would see if the information provided by the .po file is correct. Everything looks correct, for example:
#: includes/wc-cart-functions.php:124
msgid “Continue Shopping”
msgstr “Продовжити покупки”A screenshot of the file where the esc_html__ function is written and screenshots from the site pages where 8 terms need to be changed are shown on the page.
I have one question – can such a powerful team like WooCommerce create a product with a relevant translation?
Ok, if it can’t, maybe some relevant instruction will be provided that will allow you to do the translation? All of your tips that you refer to in your article do not work.
Yes, I forgot, I first downloaded the WordPress theme in Ukrainian and then downloaded WooCommerce also in Ukrainian. Therefore, this disclaimer from WooCommerce does not work either.
And the last. Can I edit the function esc_html__ and where to find it?
If so, what algorithm should I use to be able to fix this feature again when WooCommerce automatically updates?
Thank you in advance!
The page I need help with: [log in to see the link]
- The topic ‘Some strings from the Woocommerce widget are not translating correctly’ is closed to new replies.