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.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | - |
- | 13:00 – 18:00 | 13:00 – 18:00 | 13:00 – 18:00 | 13:00 – 18:00 | 13:00 – 18:00 | - |
Supporter timezone: America/Sao_Paulo (GMT-03:00)
Tagged: Not WPML issue
This topic contains 31 replies, has 2 voices.
Last updated by Mateus Getulio 1 day, 13 hours ago.
Assisted by: Mateus Getulio.
Author | Posts |
---|---|
October 16, 2024 at 5:52 pm #16297275 | |
Mateus Getulio Supporter
Languages: English (English ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hello there, I created a staging version of the site and debugged it in there. I checked it and the issue seems indeed related to the WooCommerce blocks checkout like the one reported here: https://wpml.org/errata/woocommerce-checkout-block-fails-to-translate-some-values/ In theory this issue should be fixed but unfortunately it appears to be happening again. After testing it in the staging site, I went ahead and created a separate checkout page in your site to demonstrate it to you: hidden link In this new test page instead of using the WooCommerce checkout blocks I used the legacy shortcode [woocommerce_checkout]: https://woocommerce.com/document/woocommerce-shortcodes/page-shortcodes/#checkout This new checkout page doesn't interfere with the official one that remains the same. In the new checkout page you'll see that the strings you translate in WPML -> String Translation are appearing translated in the front end, eg.: Country / Region and Last Name that I just added a SR in front of it to differentiate. Kindly test the other strings and then confirm that the strings are working properly in the new checkout when you translate them in String Translation. Once you confirm it, I'll go ahead and ask our team to review the errata and check why the issue is happening again. |
October 16, 2024 at 9:41 pm #16297823 | |
sreckoA |
Mateus hi, |
October 17, 2024 at 3:52 pm #16301352 | |
Mateus Getulio Supporter
Languages: English (English ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hello there, Thank you for confirming that the workaround fixed the issue. Regarding the checkout, I went ahead and made the legacy checkout, the one with the shortcode [woocommerce_checkout], the official checkout page for your site in > WooCommerce > Settings > Advanced. The previous checkout has been preserved, you can switch back to it as soon as we find a definitive solution for this issue, in the meanwhile as a workaround I'm afraid it is necessary to use the legacy checkout. As for the issues with the missing roles, it looks like the same issue my colleague reported here: https://wpml.org/forums/topic/stringtranslations-not-showing/#post-15754301 As my colleague pointed out in the other ticket, it looks like it is going to be necessary to contact the plugin author to review this issue. It seems like by using the same naming from the English version of the plugin the roles are displayed, can you please confirm it? The WPML is enabled and all roles are showing up properly now. |
October 18, 2024 at 6:37 am #16302800 | |
sreckoA |
Mateus hi, |
October 18, 2024 at 5:50 pm #16305959 | |
Mateus Getulio Supporter
Languages: English (English ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hello Srecko, Absolutely, I'm marking the ticket as pending until we hear back from you, please keep us in the loop. Thank you for following up with them. |
October 21, 2024 at 12:44 pm #16312355 | |
sreckoA |
Mateus hi, |
October 24, 2024 at 11:25 am #16325796 | |
sreckoA |
Mateus hi, |
October 24, 2024 at 5:30 pm #16327718 | |
Mateus Getulio Supporter
Languages: English (English ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hello Srecko, Yes, it is possible to do it for the cart as well. What needs to be done is to use the WordPress editor to edit the cart page (I tried the Elementor editor but for some reason it didn't work for me) and delete the WooCommerce new Cart blocks design. Then you add a new block of the type shortcode and you enter the following shortcode: [woocommerce_cart] This shortcode will show you the default WooCommerce cart page that which doesn't have the issue with the mixed language strings. Please let me know if you'd like me to do it for you. Thank you, |
October 25, 2024 at 12:59 pm #16330678 | |
sreckoA |
Hi Mateus, |
October 25, 2024 at 7:51 pm #16332117 | |
Mateus Getulio Supporter
Languages: English (English ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
I went ahead and made the switch. Can you please check if the strings in the legacy cart are translatable as well? I tested it and they look OK, just need to double-check. Thank you! |
October 28, 2024 at 9:00 am #16336513 | |
sreckoA |
Mateus hi, |
October 28, 2024 at 12:34 pm #16337721 | |
Mateus Getulio Supporter
Languages: English (English ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hello Srecko, I checked it and those are in fact products that have been added to the cart, you won't be able to translate them using the String Translation. You can see them in here(I attached a screenshot as well): hidden link In this case what you'd normally do would be to use the WooCommerce Multilingual to the translation. However, since your site is currently Serbian only, you can potentially edit the products in the main language and change them to Latin Serbian without any issues to your flow. Please let me know if it makes sense. Thank you, |
October 28, 2024 at 6:28 pm #16339453 | |
sreckoA |
Mateus great, it worked...! Thank you so uch, now complete woocommerce part is in Serbian. |
October 29, 2024 at 11:22 am #16341708 | |
sreckoA |
Mateus hi, "Thank you for contacting us. Please see my reply below. I think that the problem comes from changing the main language. All strings are in English and you should translate the theme in Serbian but since the main language is Serbian, you need to translate from Serbian to English. But I do not know how to transfer the English strings to Serbian ones. This is what you need to ask WPML. I really checked everything but this is the only thing that cause this. " On my side I can confirm that all roles are translated as they should be, and all of them are missing from registration form. Once I turn off wpml all roles appear. |
October 29, 2024 at 9:01 pm #16344259 | |
Mateus Getulio Supporter
Languages: English (English ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
In this case we'll need to follow the compatibility flow to check why this issue is happening. To do this, we'll need to replicate your setup on a fresh WordPress installation with WPML, the WpResidence theme, and its plugin. This sandbox environment will allow us to safely troubleshoot without affecting your live site. Here’s the link to the sandbox: hidden link. Please use this link to log in and set up the WPResidence theme and plugin, just to the point where we can view the roles. Once that's done, I’ll take care of the WPML setup for further testing. Just a quick note: to ensure we’re isolating the issue accurately, please don to use a migrator or backup plugin to copy your entire site to the sandbox. Thank you for your understanding and patience—I look forward to working together to resolve this! |