Skip Navigation

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 0 voices.

Last updated by jorgeM-44 15 hours, 4 minutes ago.

Assisted by: Andreas W..

Author Posts
January 4, 2025 at 6:42 pm #16563768

jorgeM-44

Hi Andreas,

1. WPML Custom Fields
SOLVED

2. Product page translation - Data and Short Description
Yes, but if I updated it blank, so if I remove the original post short description and then translate the product page, it should update the translated product page with also none short description, is that correct? Beucase it doesn't.

3. Product page translation - URL
Sure, it makes sense. SOLVED

4. WPML Editor - Draft
Sure, it makes sense.

Thank you Andreas.

Best Regards,
Jorge

January 4, 2025 at 10:29 pm #16563892

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

I have escalated the "WC product Description and Product Short Description" issue towards our second tier support for further revision.

Take note that this is a ATE (Advanced Translation Editor) specific issue. It does not occur using the CTE (Classic Translation Editor).

Once I receive feedback from the team I will keep you updated.

Best regards
Andreas

January 7, 2025 at 1:26 pm #16569676

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hi,

In case you would like to use a workaround for this issue, please edit the function save_package_to_job() inside the file .../wp-content/plugins/sitepress-multilingual-cms/classes/translation-jobs/class-wpml-element-translation-package.php

Change:

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'] );
}

Best regards
Andreas

January 8, 2025 at 10:59 pm #16575669

jorgeM-44

Thank you Andreas!