Panoramica del problema
Quando usi Salient con WPML, alcuni testi degli elementi Chat Thread, Scrolling Text e Single Testimonial non vengono inviati alla traduzione, quindi la pagina tradotta li mostra nella lingua predefinita.
Soluzione alternativa
- Vai a WPMLImpostazioniConfigurazione XML personalizzata, aggiungi il seguente XML e salva:
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>
- Traduci di nuovo la pagina.