[Resolved] Caption of block "Image (Adv)" in Kadence theme not translated
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing issues with translating image captions in the Kadence theme using WPML. The captions do not appear in the WPML translation editor, and there are issues with the Media Translation feature getting stuck. Solution: First, ensure that the option to translate Media Library texts (alt, caption, title) is enabled in WPML > Settings > Media translation. If translating image title/alt added via the Image ADV block in Kadence, add the following XML configuration in WPML > Settings > Custom XML configuration:
After adding the XML, re-save the original page and make a small content change if needed, then update/reopen the translation. This should allow the figcaption to appear correctly inside the Translation Editor as it does on the sandbox site.
If this solution does not resolve your issue or seems outdated, we recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If problems persist, please open a new support ticket at WPML support forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
The block "Image (Adv)" in the Kadence theme allows to add a caption to an image. These captions are not translated by WPML. They also do not appear in the WPML translation editor of the corresponding page.
The WPML Media Translation only displays graphics, but no captions. At least that is the case for the Kadence Theme.
I've never seen captions in the WPML Media Translation and all captions had been translated correctly before. The problem with the missing translations only came up recently.
Furthermore, the WPML Media Translation is stuck at my WordPress site right now: If I only copy the name of an image from German to English and save the media translation, then the window remains open and a circle rotates endlessly at the lower left side. However, the one and only image translation that is really needed is OK.
Once you’ve translated a page that includes a media file (including its caption), the media content will become available for translation in the WPML Translation Editor.
Following the description of the first link, the translation doesn't even start. It only scrolls down to step at the end of the page without telling what's next.
Previously the translation of captions at the block "Image (Adv)" in the Kadence theme worked correctly. I only noticed some days ago that these translations were replaced by the source German caption texts.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: Europe/Vienna (GMT+02:00)
Hi Ulrich,
You’ll need to download the plugin from GitHub as source code and install it in your environment. Once installed, it should be able to generate the output for you.
If you need any help with the setup, just let me know, I’m happy to assist.
Dear Drazen,
The test site please needs an installation of WPML as follows:
- WPML Multilingual CMS
- WPML String Translation
- WPML Media Translation
Then the base language must be set to German with English as target language.
Then I can test.
Thanks & kind regards,
Ulrich