Skip to content Skip to sidebar

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

Problem:
The client was unable to locate a string for translation after updating the plugin, even after performing a Theme and plugins localization scan.
Solution:
If you're experiencing difficulty translating strings in WooCommerce blocks, we recommend using the legacy cart and checkout pages that utilize WooCommerce shortcodes for translation purposes. Our development team advises this approach as there isn't currently a method to translate strings within WooCommerce blocks. For more information on how to implement this, please refer to the WooCommerce shortcodes documentation.

Please note that this solution might be outdated or not applicable to your case. If the issue persists, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should you need further assistance, do not hesitate to open a new support ticket with us.

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 4 replies, has 2 voices.

Last updated by bizprocessE 1 year, 4 months ago.

Assisted by: Long Nguyen.

Author Posts
April 12, 2024 at 2:05 am #15511149

bizprocessE

After updated the plugin, The previous issue is resolved. But there's a string I couldn't locate to translate. (Check my screenshot)

Just so you know I already did the Theme and plugins localization scan. Still, I couldn't locate the string.

April 12, 2024 at 2:16 am #15511153

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Here is the new ticket.

I see you are using the WooCommerce block Cart. Currently, there isn't a way to translate strings in WooCommerce blocks. Our development team suggests using the legacy cart and checkout page (WooCommerce shortcodes) for translation. Please read more in the documentation
https://woocommerce.com/document/woocommerce-shortcodes/

Thanks.

April 12, 2024 at 8:01 am #15511743

bizprocessE

Issue resolved. But there's another string caused problem. (Check screenshot 1 and 2) The string status is 'Registered and locked' But I couldn't find it.

Thanks

Screenshot 2.png
Screenshot 1.png
April 12, 2024 at 8:20 am #15511887

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

That means the string is already registered by the plugin. You can go to WPML > String Translation > Search for the string and translate it.

If you don't see the string, I think the YIH plugin setting will have an option to change the text. Let's adjust the text, save and search for this again in String Translation.

Looking forward to your reply.
Thanks

April 12, 2024 at 9:16 am #15512214

bizprocessE

Hi! I located the string. But the translation doesn't work. (Check screenshot)

Thanks

Screenshot 2024-04-12 at 5.15.17 PM.png