Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 6:00 – 12:00 8:00 – 12:00 6:00 – 12:00 8:00 – 12:00 6:00 – 12:00 -
- 13:00 – 15:00 13:00 – 17:00 13:00 – 15:00 13:00 – 17:00 13:00 – 15:00 -

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 6 replies, has 2 voices.

Last updated by Nicolas V. 1 year ago.

Assisted by: Nicolas V..

Author Posts
November 9, 2023 at 2:50 am #14761915

supakarnL

Hi,

The image caption on the Thai page and English page are shown differently. Please advise.

Thanks and Regards,
Joon

compare-image-caption-th-eng-page.jpg
November 9, 2023 at 7:31 pm #14770727

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hello,

Welcome to the WPML support forum. Just to be sure to understand the issue. The difference is that the Thai version has two texts, Thai and English, while the English version is missing the English text right?

I inspected the source code and it looks like this:

<figcaption class="wp-caption-text gallery-caption" id="gallery-1-19579">กวางตุ้ง<br>Cantonese</figcaption>

- Can you explain me how do you translate your page? Do you use our Advanced Translation Editor (ATE) or the WordPress editor?
- Can you try the following, make a small edit on the original page (Thai) and click "update", then enter the translation and see if you have additional segments to translate. You can also use the top left search bar in our editor to find those segments.
- Do you confirm that those texts are really coming from the image caption and they are not added programmatically (like a custom field added in the code)?

November 13, 2023 at 4:35 am #14785293

supakarnL

Hi Nicolas,

Thank you for your reply.

The difference is that the Thai version has two texts, Thai and English, while the English version is missing the English text right?
- Correct

---------------------------------------------------

Can you explain me how do you translate your page? Do you use our Advanced Translation Editor (ATE) or the WordPress editor?
1. I made the Thai version page. At the time, the image caption only had Thai text
2. I made the English version using ATE.
3. I can't translate the image caption to English so I add the English text directly to the image caption.

Additional info: In the Elementor editor, the image caption shows correctly. See the attached image.

---------------------------------------------------

Can you try the following, make a small edit on the original page (Thai) and click "update", then enter the translation and see if you have additional segments to translate. You can also use the top left search bar in our editor to find those segments.
- Nothing changed.

---------------------------------------------------

Do you confirm that those texts are really coming from the image caption and they are not added programmatically (like a custom field added in the code)?
- Yes, I confirm the texts are from the image caption. I can give you login details if it's more convenient for you to investigate the issue.

Hope this helps.
Thanks and Regards,

Screenshot 2566-11-13 at 10.57.37.png
November 13, 2023 at 12:36 pm #14788627

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hello,

Thanks for the detailed answer.
- If you are using ATE to translate your page, then you should open ATE to update translations. It's not recommended to switch editors because you could lose your modifications.
For example, if you edit the translation in the Elementor editor and add those English texts, then if you update or save the original Thai page, the translation inside ATE will overwrite those changes. That means that those texts will disappear again.
- If texts are visible in Elementor but not on the frontend it could be a cache issue, please clear any cache you may have.

If the issue persist, could you please provide me with a temporary admin access (wp-admin and FTP) – preferably to a test site where the issue has been replicated – so I can further investigate. I will activate a private field for your next answer where you can provide that information safely (this field is only visible by you and the support team). Don't share your own admin account, create a new one that you will delete when we finish troubleshooting.

IMPORTANT: Before we proceed, please backup your site and database.

November 14, 2023 at 11:04 pm #14802967

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hello,

I wasn't able to reproduce your issue on a sandbox site. Here is a video of my intervention:
hidden link

- I installed Elementor, created a new Elementor page.
- I added a "Basic Gallery" widget. I added 2 images with captions containing the br HTML tag.
- I was able to translate the image title and captions

Then I went back to your site and did the same test.
- I created a new test page (as a draft)
- I added a "Basic Gallery" widget. I added 3 images with captions containing the br HTML tag.
- As you can see on the video, I can't translate image titles or captions here

I think it could be a conflit with a third party plugin. Could you create a staging copy of your site and test WPML in a minimal environment?
- Disable any additional plugin that is not related to WPML and Elementor and switch to the default Hello Elementor theme.
- If the issue disappears please start reactivating the plugins one by one, or activate them in small groups. This way you can verify at which point the issue appears again and identify the plugin that is causing the issue.

November 15, 2023 at 4:18 am #14803793

supakarnL

OK Thank you for your help.
Have a good day.

November 15, 2023 at 12:55 pm #14808493

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hello,

Please let me know how it goes, I'd like to know if a third party plugin is causing the issue.

The topic ‘[Closed] Issue with image caption.’ is closed to new replies.