Greetings team,
I am using built in translation on xstore.
I see that most of the page is translated, however there is some woocommerce pages that are not being translated.
Eg the attached file – https://prnt.sc/MH1JQnmb6Hnm
This topic has 16 replies, 2 voices, and was last updated 3 weeks, 1 day ago ago by Andrew Mitchell
Greetings team,
I am using built in translation on xstore.
I see that most of the page is translated, however there is some woocommerce pages that are not being translated.
Eg the attached file – https://prnt.sc/MH1JQnmb6Hnm
Hello, Nene,
Hi, could you please confirm whether any changes have been made to the WooCommerce plugin? We are currently noticing multiple errors related to it on both the frontend and backend. You can find more details in the attached screenshots.
Best regards,
8Theme Team
Hello @Andrew
Many thanks for your prompt support
I had not notices the issues yet.
I have an opened ticket regarding Woocommerce checkout and @Samir is working on it. I believe he might be touching the configs
Can you touchbase with him?
Is there anything i can so to support at the moment?
Here is the ongoing ticket that I suspect is being worked on:
https://www.8theme.com/topic/display-only-the-shipping-locations-on-checkout/
Greetings,
I was asked to downgrade the php version from version 8.3
to 8.2
Can you check if issues persists? and let me know in case you require anything else from my side please
Hello @Andrew
Not sure of you can see the other ticket
But I got the bellow message:
1. We have identified the issues on your shop/product page. There are some syntax errors in the translation.
Please follow the steps below to fix them using Loco Translate (recommended):
Step 1: Open WooCommerce translations
– Go to WP Admin → Loco Translate
– Click Plugins
– Select WooCommerce
– Choose the active language (the one causing the error)
Step 2: Find the incorrect string
– In the search box, type: %
– Carefully review all strings that contain a %
– Look for strings such as:
– 20 %
– Save %
– Up to % off
Step 3: Correct the format
Important rule: Every % must either be:
– A valid specifier (%s, %d), or
– Escaped as %%
Examples:
Incorrect: Save 20 %
Correct: Save 20 %%
Incorrect: % off
Correct: %s off
Make sure the translation matches the English original exactly.
Step 4: Save and clear the cache
– Click Save
– Clear any caching plugin, server cache (if applicable), and CDN (e.g., Cloudflare)
– Refresh the page and confirm that the error has been resolved.
“
Hello, Nene,
Regarding the card page, the field labels on it are dynamic and cannot be translated using translation plugins. This needs to be done directly in the Elementor editor. We have added a video to show you how to do this.
Best regards,
8Theme Team
Greetings @Andrew
Thanks for the Video. This was very good. Got me Doing lots of translations and even configuratios that was pending. Keep it up
I am also curious how I can adjust the attached translations
https://prnt.sc/kh_c0e5nmfTN
Thanks for the Video
Allow me to wish you marry
Hello, Nene,
Since the button texts have been modified by third-party plugins for switching select options on the shop page, we have added the following custom code to thexstore-child/functions.phpfile.
add_filter( 'woocommerce_product_add_to_cart_text', function( $text, $product ) {
if ( $product && $product->is_type( 'variable' ) ) {
return str_replace( 'Select options', 'Selecione as opções', $text );
}
return $text;
}, 10, 2 );
Best regards,
8Theme Team
Greetings
I see it worked
Thank you very much
Would the same apply for the string “ Place Order” on the checkout page?
Greetings Team,
I am Still not able to get from where i can translate this string “Place Order” – https://prnt.sc/NHnOGz0l5K_q
Please support
Hello, Nene,
We have translated this text. Please review it.
Best regards,
The 8Theme Team
Greetings @Andrew
Much appretiated for the support.
Not too sure from where you translating so that i can help.
There some other woocomerce strings as well as the bellow samples
https://prnt.sc/bMyAQ7_e_DTf
https://prnt.sc/NBZilDJHGH_Z
https://prnt.sc/4zYbGaklZ52-
Regards
Hello,
To resolve this issue, we have added the following code to
wp-content/themes/xstore/functions.php
add_action( 'init', function () {
if ( wp_doing_ajax() ) {
switch_to_locale( get_option( 'WPLANG' ) ?: 'pt_PT' );
}
}, 0 );
You can find instructions on how to translate “Shopping Bag” in the attached videos.
Best regards,
8Theme Team
Greetings Team,
We really need to work on translation files for the woocommerce.
There many places that are not translated as expected.
attaching fre examples
Hello, Nene,
We have corrected these issues. Please check them.
Best regards,
The 8Theme Team
You must be logged in to reply to this topic.Log in/Sign up