Skip Navigation

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

Problem:
The client is translating a French site into English and is using the WooCommerce Product Table (WCPT) plugin. They have a shortcode that displays a product table, which needs to be translated for the English version of the page. The French shortcode is

[product_table name="Liste de prix" category="roches"]

, and the client expects it to be

[product_table name="Price List" category="rocks"]

for the English page. However, the English page is not working.
Solution:
We recommend the following steps to resolve the issue:
1. Ensure that the WCPT plugin is the pro version, as it is the one that is compatible with WPML.
2. Translate the name of the table and the product category using WPML's String Translation.
3. Update the shortcode on the English page to reflect the translated table name and category.
If these steps do not resolve the issue, or if the solution provided here is outdated or not applicable to your case, we highly recommend checking the related known issues and verifying that you have installed the latest versions of themes and plugins. If the problem persists, please 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.

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by bernardL-9 1 year, 3 months ago.

Assisted by: Kor.

Author Posts
February 20, 2024 at 6:05 pm

bernardL-9

Sure. My site is in French and I am translating it to English. I have done what was suggested to be done for that plugin... I am using a shortcode to display a Product table. Example of shortcode for French: [product_table name="Liste de prix" category="roches"]. I went to the Product Table menu and translated the name of the table as well as the product category so the shortcode should become [product_table name="Price List" category="rocks"] once I translate the page where the shortcode is. French page: hidden link works. English page does not work: hidden link

February 20, 2024 at 6:48 pm
February 20, 2024 at 6:48 pm #15324512

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

Here is the ticket and please let me know how it goes.

February 20, 2024 at 8:52 pm #15324758

bernardL-9

Hi Kor, The plugin I am using - WooCommerce Product Table (WCPT) - has a pro version that is said to be compatible with WPML on their FAQ page. It took me a while to find the info...
See this page under 3rd arty plugins section: hidden link
Thanks again,
Bernard