This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing issues with product titles and text content appearing in Czech and needing retranslation after adding translations through XLIFF files. Additionally, there's a discrepancy in the display of product variation tables between the Czech (CZ) and German (DE) versions of a WooCommerce site. The client uses a plugin (PVT - Product Variation Table for WooCommerce) and a custom PHP script to display these tables.
Solution:
1. For the issue with the product variations not displaying correctly in the translated version, the client needs to ensure that the custom code or plugin fetches the translated variation names instead of just the slugs. We recommend using the WPML hook
wpml_object_id
to fetch the translated term names. More details can be found here: https://wpml.org/wpml-hook/wpml_object_id/
2. Since the PVT plugin is not listed as compatible with WPML, we suggest contacting the plugin author to discuss making the plugin compatible or consider using a WPML-compatible plugin like Product Table for WooCommerce.
If these solutions do not resolve your issue or seem outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket with us for further assistance.
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.
This topic is split from https://wpml.org/forums/topic/split-variation-shortcode/