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 5 replies, has 1 voice.

Last updated by Andreas W. 1 day, 4 hours ago.

Assisted by: Andreas W..

Author Posts
December 20, 2024 at 12:08 pm #16533820

andreS-64

Background of the issue:
I'm trying to prevent WPML from translating ACF Pro variables inside Bricks Builder on my site hidden link. I am following the documentation at hidden link.

Symptoms:
Every time I update a translation, my layout breaks. hidden link

Questions:
How can I stop WPML from translating ACF Pro variables within Bricks Builder?

December 20, 2024 at 6:03 pm #16535169

Laura
Supporter

Languages: English (English ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

Hi,

thanks for contacting us.

THe variables are added in ACF how, what kind of fields are they? Which translation preferences are they using?

December 21, 2024 at 2:59 pm #16536704

andreS-64

Hi Laura,

It seems to me that the problem is caused by WPML translating Bricks strings.

I want WPML to translate only the ACF Pro fields where my client adds the page content.

What feature do I need to disable to stop translating Bricks Builder strings?

December 23, 2024 at 2:55 pm #16540801

andreS-64

Hi,

I believe the problem was having installed the "String Translator" option with the OTGS Installer plugin.

String Translator is translating ACF Pro variables within Bricks, for example:

{acf_carreira_1_botao} - original PT-BR
{acf_carrera_1_boton} - ES

This way the content is not displayed, this string cannot be translated.

I tried installing the OTGS Installer plugin to remove "String Translator" but I can't activate the plugin:

hidden link

Can you help me with this?

December 24, 2024 at 12:22 pm #16543651

Andreas W.
Supporter

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

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

Hello,

This problem seems to be currently expected, as the automatic translation engine will not know how to handle strings like "{acf_carreira_1_botao}".

WPML would need to check the Bricks content for dynamic tags first and make sure that those are not send to the translation editor interface.

For now, you could try to use the Glossary Feature of the Advanced Translation Editor to avoid such unexpected translations. You can declare the dynmaic tags as general terms (names), which will make sure that they are not longer getting translated.

Guide:
https://wpml.org/fr/announcements/2024/08/how-to-get-better-translations-using-wpml-glossary/

I hope this might be a workaround for this particular case.

I will now try to recreate this issue on a new test site and then escalate this problem internally, so that our compatibility team can work on a solution for this problem.

Best regards
Andreas

December 24, 2024 at 1:21 pm #16543872

Andreas W.
Supporter

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

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

I have created a test with WPML, Bricks and ACF and would like to ask you to recreate the issue using a simple example.

One-Click-Login:
hidden link

Please leave me a comment on this ticket once you are done with this task.