Saltar al contenido Saltar a la barra lateral
Sun Mon Tue Wed Thu Fri Sat
12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 - -
- - - - - - -

Zona horaria del soporte: Asia/Karachi (GMT+05:00)

Este tema contiene 0 respuesta, tiene 1 voices.

Última actualización por massimoP-11 hace 2 meses, 2 semanas.

Asistido por: Noman.

Autor Publicaciones
agosto 31, 2025 a las 9:33 am #17360185

massimoP-11

Background of the issue:
I am trying to translate Elementor widget links (Container, Button, Image) consistently with WPML. I have tested with custom wpml-config.xml and PHP registration via wpml_elementor_widgets_to_translate. Despite all adjustments (REST API enabled, plugins disabled, caches cleared, packages rebuilt), the behavior remains inconsistent between Pages and Templates. Here is the custom XML and PHP code I used:

link>url
link>custom_attributes
settings>link>url
settings>link>custom_attributes
wrapper_link>url
settings>wrapper_link>url

text
link>url

image>alt
link>url

add_filter('wpml_elementor_widgets_to_translate', function ($widgets) {
$widgets['container'] = [
'conditions' => ['widgetType' => 'container'],
'fields' => [
['field' => 'link>url', 'type' => 'Container Link URL', 'editor_type' => 'LINK'],
['field' => 'wrapper_link>url', 'type' => 'Wrapper Link URL', 'editor_type' => 'LINK'],
['field' => 'link>custom_attributes','type' => 'Container Attrs', 'editor_type' => 'LINE'],
],
];
return $widgets;
}, 20);

Link to a page where the issue can be seen: [URL not provided].

Symptoms:
Container link URLs sometimes appear in ATE, sometimes only in String Translation, and sometimes not at all. Buttons and Images are more reliable, but still inconsistent between Pages and Templates. After removing all custom XML/PHP code, Container links unexpectedly appeared in ATE, suggesting a possible WPML core issue rather than a configuration problem.

Questions:
Is this a known issue with WPML core?
Is there a fix planned for this issue?
Can you provide a stable configuration example that works reliably for Container link fields in both Pages and Templates?

El tema '[Cerrado] Elementor Widget Links in ATE vs. String Translation (Pages & Templates)' está cerrado a nuevas respuestas.