This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're experiencing issues with the translation of product descriptions and short descriptions not updating correctly in the Advanced Translation Editor (ATE), this might be due to a specific bug.
Solution:
We have escalated this issue to our second-tier support for further investigation. Meanwhile, if you're looking for a workaround, you can modify the function
save_package_to_job()
in the file
.../wp-content/plugins/sitepress-multilingual-cms/classes/translation-jobs/class-wpml-element-translation-package.php
. Change the following code:
if ( array_key_exists( $field, $prev_translation ) ) { $job_translate['field_data_translated'] = $prev_translation[ $field ]->get_translation(); $job_translate['field_finished'] = $prev_translation[ $field ]->is_finished( $value['data'] ); }
To:
if ( array_key_exists( $field, $prev_translation ) && !empty( $value['data'] ) ) { $job_translate['field_data_translated'] = $prev_translation[ $field ]->get_translation(); $job_translate['field_finished'] = $prev_translation[ $field ]->is_finished( $value['data'] ); }
Please note that this solution might become outdated or may not apply to your specific case. 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 issue persists, please open a new support ticket at 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.
This topic is split from https://wpml.org/forums/topic/problem-translating-products/
This topic contains 2 replies, has 0 voices.
Last updated by 1 week, 5 days ago.
Assisted by: Andreas W..