I am trying to:
- Product is translatable.
- Fields are translatable.
- Add a repeatable group in WooCommerce's 'product'.
- Translate to another language.
Link to a page where the issue can be seen: The issue is in the admin page.
I expected to see:
- A field to translate repeatable groups like 'key'->'value'.
Instead, I got:
- It doesn't appear in the WPML Editor.
If I create a custom post with Toolset, I can translate repeatable groupt without problems (it shows). But with 'product', it doesn't appear the fields. I tried to install a new and clean site with the following:
- WordPress 5.8.3
- Theme: Storefront without modifications and my custom theme (no Storefront or related)
- Types 3.4.15
- WooCommerce 6.1.1
- WooCommerce Multilingual 4.12.5
- WPML Media 2.7.0
- WPML Multilingual CMS 4.5.2
- WPML String Translation 3.2.0
In custom post 'autor', appears. In 'product', Repeatable Group fields don't appear.
Notes: screenshots are from new site in local enviroment. Dummy text is added to show the problems. The products is added via example products by WooCommerce.
I checked this on my own local WC site, and it worked for me.
See the screenshot from the translation screen, where the red square shows a custom field coming from a repeatable field group assigned to products, while the blue square shows a custom field assigned directly to products.
I think we'd need to take a look at your site to see if we can spot what is different, if that's okay?
Let me mark your next reply as private so that we can get log-in credentials from you—you may want to create a temporary admin user for us to use that you can later delete. And be sure to have a current backup of your site.
I can see that your WordPress is not updated. Can you try it with 5.8.3 version? Or if you can, let me know your version to try it. I will prepare a backup subdomain with the dummy site to give you access. Thanks.
Edit: mark my next response to private. I have the dummy site ready.
I have tried it in my localhost with the latest version of WordPress 5.9 + Toolset plugins + WPML plugins, it works fine, I can translate the fields of repeatable field groups.
I have tried the credentials you provided above, but get below error:
Error: El nombre de usuario typessupport no está registrado en este sitio. Si no estás seguro de tu nombre de usuario, prueba con tu dirección de correo electrónico en su lugar.
Please check it, make sure it is a valid admin account
Thanks for the details, you just need to enable WPML Advanced Translation Editor.
I have done below modifications in your website:
1) Dashboard-> WPML-> Settings-> Multilingual Content Setup, in section "Translation Editor", enable options "Advanced Translation Editor"
2) Edit one of product post, for example: hidden link
add items into Repeatable field groups "Product info", translate it into English:
I can see the custom fields of Repeatable field groups
My problem is fixed in part. It's working, ok. But I don't want to use the Advanced Translator Editor yet.
If I want to use Classic Translation Editor, it doesn't appear in a 'product'.
Maybe this a WPML problem and not Toolset as I was thinking. But it's a bit strange that I can add Repeatable groups in every single custom post type I created and in WooCommerce 'product' with Classic Translation Editor... doesn't appear at all...
I'm gonna ask to WPML if they can give me more information about why it doesn't appear in classic mode. Maybe it will soon be obsolete and they are not updating or checking compatibility.