Aperçu de l’anomalie
Lorsque vous utilisez Salient avec WPML, certains textes des éléments Chat Thread, Scrolling Text et Single Testimonial ne sont pas envoyés à la traduction, la page traduite les affiche donc dans la langue par défaut.
Solution de contournement
- Allez dans WPMLParamètresConfiguration XML personnalisée, ajoutez le code XML suivant et enregistrez :
XML
<wpml-config> <shortcodes> <shortcode> <tag>nectar_single_testimonial</tag> <attributes> <attribute>quote</attribute> <attribute>name</attribute> <attribute>subtitle</attribute> </attributes> </shortcode> <shortcode> <tag>nectar_scrolling_text</tag> <attributes> <attribute>text_repeat_divider_custom</attribute> </attributes> </shortcode> <shortcode> <tag>nectar_chat_thread</tag> <attributes> <attribute>outgoing_bubble_name</attribute> <attribute>incoming_bubble_name</attribute> </attributes> </shortcode> <shortcode> <tag>nectar_chat_thread_bubble</tag> </shortcode> </shortcodes> </wpml-config>
- Traduisez à nouveau la page.