The linked screenshots are set to have a limited access on Google Drive. I cannot see the screenshots.
Which .po file did you try to translate? How did you translate it, with the PoEdit software and then compiled it to a .mo file? Or with the help of a plugin similar to Polylang?
Thread Starter
odamli
(@odamli)
Hi
I changed the limitation of the linked screenshots.
I translated the ‘wp-multi-step-checkout.pot’ file with PoEdit and yes I compiled it to a .mo file and uploaded them. Everything that I translated worked just fine like it did in free version except the error notice part shows ‘billing’ instead of translated words in pro version as I showed in above screenshots.
Hope there is a way to add filter or action to adjust the text in error message.
Regards
The error messages are under the “woocommerce” text domain. Which means that you’ll need to translate the /wp-content/plugins/woocommerce/i18n/languages/woocommerce.pot file. More specifically, the following lines:
#. translators: %s: field name
#: includes/class-wc-checkout.php:747
msgctxt "checkout-validation"
msgid "Shipping %s"
msgstr ""
#. translators: %s: field name
#: includes/class-wc-checkout.php:751
msgctxt "checkout-validation"
msgid "Billing %s"
msgstr ""
The translated and compiled .po and .mo files need to go in the /wp-content/languages/plugins/ folder.
Thread Starter
odamli
(@odamli)
My woocommerce.pot file is already translated but it still won’t work, I think it’s under multi-step checkout pro “validate the fields during each step” function.
When I’m not using this function, everything shows fine:
screenshot-without-using-validate each step
And after I activated this function it shows “billing” instead of translated words”ๅธณๅฎ”:
screenshot-using-validate each step
So can you check that is there a additional alert message coming from the plugin while validating the fields during each step? Thank you for your time, really appreciated the support.
BTW the website mentioned :https://www.lessmore.com.tw/
-
This reply was modified 5 years, 9 months ago by
odamli.
Would you please check your email address for an answer to the issue?
@diana_burduja Hi!, I am currently facing the same problem. How did you solve this problem?.
@alonsosandoval Would you please update the plugin to the 2.18 version? There is issue should be solved.
If you don’t find an update notice on the “WP Admin -> Plugins” page yet, then you can generate one by clicking the “Check Again” button on the “WP Admin -> Dashboard -> Updates” page.