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.

Elementor users - please update WPML to the latest version to maintain compatibility. More details here - https://wpml.org/changelog/2024/12/wpml-4-6-15-critical-update-for-elementor-sites/
Sun Mon Tue Wed Thu Fri Sat
- - 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00
- - - - - - -

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 70 replies, has 2 voices.

Last updated by Andreas W. 1 month, 3 weeks ago.

Assisted by: Andreas W..

Author Posts
October 22, 2024 at 6:57 pm #16319132

Andreas W.
Supporter

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

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

I revise the issue on your test site.

At the moment the button settings appear on ATE as they are saved inside the translation memory of ATE.

See screenshot.

Take note, that you will not get charged for those translations.

Should I try to reset the translation memory for the test site for running further tests?

translation memory.jpg
October 22, 2024 at 7:20 pm #16319171

ruiG-5

Do proceed with whatever you need to make it to work.

October 22, 2024 at 7:21 pm #16319175

ruiG-5

Use your environment please. Once it's fixed, I'll double check.

October 22, 2024 at 10:03 pm #16319493

Andreas W.
Supporter

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

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

Thank you, and sorry for the misunderstanding.

The issue occurs on the sandbox, but only if you use a ACF Block.

I will run a view more tests and then escalate the issue internally.

October 24, 2024 at 12:59 am #16323958

Andreas W.
Supporter

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

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

The problem here is that the translation preference for ACF Group Fields that are places inside an ACF Block are currently not respected.

Workaround:
Open the file \wp-content\plugins\acfml\classes\class-wpml-acf-blocks.php

Search for this function:

	private function isTranslatableInPreferences( $fieldName ) {
		$acfField = acf_get_field( $fieldName );
		if ( ! $acfField ) {
			$acfField = $this->maybeGetSubfield( $fieldName );
		}
		if ( isset( $acfField['wpml_cf_preferences'] ) ) {
			return (int) $acfField['wpml_cf_preferences'] === WPML_TRANSLATE_CUSTOM_FIELD;
		}
		return true;
	}

On the last line, change true to false.

This should solve the issue for now until you update ACFML, then you will need to implement the workaround again, until our developers have released a fix.

Please confirm is this solves the issue.

Until now, I can sadly not give you a date about when such version will be available.

October 24, 2024 at 12:02 pm #16326017

ruiG-5

Awesome. Do you mind clearing memory for the dev-sitename and test-sitename?

Thanks!

October 24, 2024 at 2:48 pm #16327042

Andreas W.
Supporter

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

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

Done 😉

October 24, 2024 at 3:30 pm #16327268

ruiG-5

I need to share more stuff with sensitive information. Do you mind sending a new reply request with hidden fields please?

October 24, 2024 at 5:02 pm #16327539

Andreas W.
Supporter

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

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

The private reply form is enabled.

Please take note, that we are supposed to only handle one issue per ticket.

If the issue that you would like to report is not related to the topic handled on this ticket, then please open a new ticket.

This ticket here is already escalated to development.

October 24, 2024 at 5:12 pm #16327548

ruiG-5

hidden link sitename .pantheonsite.io/
hidden link sitename .pantheonsite.io/de/

You already know the sitename. I didn't used the private option, cause it's asking the same information again.

At the bottom we have two blocks: slider + CTA

CTA is a pattern block, has a regular text area field, which is not showing in the translation editor -- screenshot_2 + screenshot_5
Slider, has a regular text area field, which is not showing in the translation editor -- screenshot_3 + screenshot_4

October 24, 2024 at 5:34 pm #16327729

ruiG-5

Hide those images please

October 24, 2024 at 5:50 pm #16327786

Andreas W.
Supporter

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

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

1) If those fields are part of a Repeater Field, Flexible Layout or Group Field make sure that the field is set to "Copy".

2) If the same field name is used on more than once field, then it may occur that fields do not appear on ATE.

Please revise and let me know the results.

October 24, 2024 at 5:58 pm #16327820

ruiG-5

Check attachments. Since the field name is "content", you're saying that is the issue?!

Screenshot_6.jpg
Screenshot_7.jpg
Screenshot_8.jpg
October 24, 2024 at 6:38 pm #16327948

Andreas W.
Supporter

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

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

Yes, each field name should only be used once. The field names need to be unique.

October 24, 2024 at 6:41 pm #16327967

ruiG-5

Then why I have more fields with the same name and all of them are working correctly?