Navigation überspringen

[Gelöst] Visual Editor Cell content not available for translation in WPML

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

Problem:

The customer could not translate the HTML content inside a Toolset Layout Visual Editor Cell with WPML. Sending the Layout for translation only showed the title and an “Optional” string, while the Visual Editor Cell content did not appear in translation or in String Translation.

Solution:

It was explained that the HTML inside the Visual Editor Cell was too complex to be detected automatically by WPML. The suggested workaround was to wrap translatable text with the [wpml-string] shortcode so it could be found in String Translation. The customer later used a Content Template instead, reassigned it to the relevant elements, and confirmed that this solved the issue.

Relevant Documentation:

https://toolset.com/course-lesson/translating-views-content-templates-archives-and-forms/

This support ticket is created vor 1 week, 6 days. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Dieses Thema enthält 1 reply, hat 1 Stimme.

Zuletzt aktualisiert von africaS vor 1 week, 2 days.

Assistiert von: Christopher Amirian.

Author
Artikel
#2867174
Captura de pantalla 2026-07-02 a las 14.55.40.png
Captura de pantalla 2026-07-02 a las 14.55.29.png

Hello,

I need to translate this Toolset Layout into English and French. The layout only contains a single Visual Editor Cell with HTML code inside.

For the Visual Editor Cell, the translation option is set to “The entire cell will appear as a field for translation” (see the attached screenshot).

However, I can’t find this content anywhere in WPML:

* If I send the Layout for translation, only the title and a string called “Optional” are available for translation.
* The HTML content of the Visual Editor Cell does not appear.
* I have also searched in WPML → String Translation, but I can’t find the content there either.

Am I missing an additional setting, or is there another way to translate the content of this Visual Editor Cell?

I’ve attached two screenshots showing the Layout and the translation settings.

Thank you!

#2867213

Christopher Amirian
Unterstützer

Sprachen: Englisch (English )

Hi,

Welcome to Toolset support. The HTML code is too complicated to be detected by WPML The best way is that you use the [wpml-string] shortcode and wrap your text in that.

Then you will be able to search for the text in the WPML > String Translation menu.

https://toolset.com/course-lesson/translating-views-content-templates-archives-and-forms/

Thanks.

#2867642

Hola:

¡Muchas gracias por tu ayuda! Al final, hemos creado un Content Template y reasignado a todos los elementos, ya que hemos visto que se podía hacer fácilmente. Y ahora funciona todo perfectamente.

Saludos