Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client was experiencing an issue where the WooCommerce Subtotal was showing in English as "Subtotal" instead of the expected Traditional Chinese "小計" when WPML String Translation was activated. Additionally, the "Free Shipping" text on the Cart page was not translating correctly after performing the "Theme and plugins localization" with WPML.

Solution:
For the Subtotal issue:
1. Edit the "cart" page in Chinese.
2. Click on the three-striped icon to view the different blocks on the page.
3. Select the "empty cart" block to reveal its contents.
4. Manually translate the text within the block.
5. Save the changes.

For the Free Shipping issue:
1. Go to WooCommerce > Settings > Shipping.
2. Edit the label for the free shipping to something unique.
3. Search for the new label in WPML's String Translation.
4. Translate the label and save the changes.

Please note that the solution provided might be outdated or not applicable to your case. If the issue persists, we recommend opening a new support ticket. We also highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please reach out to us on the WPML support forum.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 15 replies, has 3 voices.

Last updated by Alejandro 10 months, 3 weeks ago.

Assisted by: Alejandro.

Author Posts
February 14, 2024 at 8:22 am #15300415

Alejandro
Supporter

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

It can't be found using the way you described because the label is a dynamic one that is not written in the code, which is what the method you describe will be looking for (strings "hardcoded" in the theme or plugins).

What I mentioned is s trick when you have no idea where the content is coming from, to identify the correct one. However we're in the process of making changes on our end to improve this workflow to make it more automated. In the meantime you can contact us when you get stuck and we'll try to help you out.

Regards,