Skip to content Skip to sidebar

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

Problem:
The client is using WPML with WooCommerce Multilingual & Multicurrency and has installed the WooCommerce Product Catalog Feed by PixelYourSite. They are facing an issue where the fields within the Product Catalog tab are not being automatically translated by WPML and are not visible in the String Translation section or the WPML Translation Editor.

Solution:
1) We recommend going to WPML-> Settings-> Custom Fields Translation section, searching for those fields, and setting them as Translatable. After doing so, update the product in the default language and then update its translation to check if the strings appear in the translation editor.
<br/Please note that the solution provided might be irrelevant due to being 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. If necessary, do not hesitate to open a new support ticket in 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.

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by Osama Mersal 1 year, 4 months ago.

Assisted by: Osama Mersal.

Author Posts
May 8, 2024 at 1:57 am #15604053

caryY

Tell us what you are trying to do?
Hello,

I am currently using WPML along with WPML WooCommerce Multilingual & Multicurrency to build a multilingual and multi-currency e-commerce store. I have also installed the WooCommerce Product Catalog Feed by PixelYourSite. This plugin adds an additional tab called "Product Catalog" to each product edit page, where I can set various Production Feed Custom Options, as shown in the attached image.

I am encountering an issue where none of the fields within the Product Catalog tab are being automatically translated by WPML. These fields are not visible in the String Translation section, nor can they be found in the WPML Translation Editor for the products. I suspect that this plugin may not be fully compatible with WPML.

Could you please advise if there is a way to manually register all fields from the WooCommerce Product Catalog Feed plugin's Product Catalog tab in WPML, so that they can be recognized by the String Translation and WPML Translation Editor?

Thank you for your assistance.
Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

20240507185546.png
May 8, 2024 at 11:00 am #15605582

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

1) Please go to WPML-> Settings-> Custom Fields Translation section, search for those fields, and set them as Translatable.

After that, please update the product in the default language and update its translation to check if the strings appear in the translation editor.

2) It's not related to the issue, but according to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. The minimum requirements for WPML are 128 MB. (Kindly check this page https://wpml.org/home/minimum-requirements/)

You can increase it by adding the following code in your wp-config.php file right before the /* That's all, stop editing! Happy publishing. */ line:

/* Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M');
May 9, 2024 at 5:24 am #15608450

caryY

Hi,

Thank you for your prompt response and the guidance provided. Following your instructions, I navigated to WPML -> Settings -> Custom Fields Translation, where I found the fields within the Product Catalog tab and set them as translatable. Now, I am able to find these fields in the WPML Advanced Editor.

I have another question that I'd like to ask, although the situation has not yet arisen:

If some fields from product or page editors brought by plugins are not found in the Custom Fields Translation section, does that mean I need to use the wpml_register_single_string function to register those fields like the documenation of the URL below?
https://wpml.org/wpml-hook/wpml_register_single_string/

Best Regard
Cary

May 9, 2024 at 8:03 am #15609122

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi Cary,

It depends on how these strings are added. If they are custom blocks or page builder widgets, you can register them for translation using custom XML. Kindly check this guide. (https://wpml.org/documentation/support/language-configuration-files/)

Best regards,
Osama

May 9, 2024 at 8:40 am #15609459

caryY

Thank you so much for the help.