Pular a navegação

Este tópico contém 0 respostas, tem 1 voz.

Última atualização: Emke Douwe Ottema 1 mês, 1 semana atrás.

Assistido por: Mateus Getulio.

Autor Posts
outubro 24, 2024 em 11:40 am #16325836

Emke Douwe Ottema

Background of the issue:
I am trying to translate the id fields of a shortcode in a WordPress site under development. The shortcode is:
[mautic type="form" id="22"]

I added this XML config under Settings -> Custom XML config:

mautic type id

and added this line in my functions.php:

add_filter( 'wpml_tm_job_field_is_translatable', '__return_true' ).

I followed this guide: https://wpml.org/documentation/support/language-configuration-files/translate-custom-shortcodes-with-wpml/

Symptoms:
After editing the original page, I can translate the type field, but there is no way to translate the id field.

Questions:
What am I missing in the configuration to translate the id field?