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
- 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 -

Supporter timezone: Asia/Dhaka (GMT+06:00)

This topic contains 20 replies, has 2 voices.

Last updated by Prosenjit Barman 7 months ago.

Assisted by: Prosenjit Barman.

Author Posts
November 5, 2024 at 5:26 pm #16368555

alainL-22

Background of the issue:
I am trying to translate media alt text and descriptions on my site hidden link using WPML. I am also using the Travel Tour template by GoodLayer with WooCommerce.

Symptoms:
The original text in French remains unchanged despite my translations. Additionally, I cannot find a way to translate the enquiry form.

Questions:
How can I translate media alt text and descriptions using WPML?
How do I translate the enquiry form in the Travel Tour template by GoodLayer?

November 6, 2024 at 8:30 am #16370090

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support.

I understand what you're looking for. Let me address each point one by one.

- Image Meta Data Translation: When translating a page or post that contains images, the image metadata should also appear in the translation editor for translation. To ensure this happens, please follow the steps below:

1. Go to "WPML > Settings" and scroll to 'Media Translation'.
2. Enable the option for "Translate media library texts with posts" and click the "Apply" button.
3. Open the default page in the WordPress editor and make a small update.
4. Proceed to update the translation. The meta data, such as captions and alt tags, should now appear in the editor for translation. Add the translations, and the data should display correctly in the other languages.

- Inquiry Form Translation: If translation support is added for the form, you should be able to translate it through String Translation. Please follow the instructions provided in the documentation below and check if that helps in translating the form:

-- hidden link

Please try and let me know how it goes. I'll be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

November 11, 2024 at 9:26 am #16387543

alainL-22

Hello,

Thank you for your kind reply.
But I'm sorry to say that it "half" works !
I can see just a few titles to be treanslated but not the alt text, not the captions not the descriptions
You will see on the pictures in attachment
1/ all what I ticked in WPML/settings/media translation,
2/ all what wpml offers to translate
3/ All what should be translated and that doens't appear on wpml (except some titles but not all)

Thank you for your help

Cordially

Alain

What is asked to be translated.JPG
Media translation.JPG
November 12, 2024 at 3:33 am #16390690

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Alain,
Thank you for the update!

If the captions and alt-image data in the Photos section do not show in the Translation editor, it may be because the Gallery module used in that section doesn't have WPML support.

However, we are currently aware of an issue where the content within the sync template wrapper does not appear correctly for translation. Please check hidden link">this screenshot for a better understanding. If the gallery module is added in a Sync template, I suggest recreating the section using an ordinary wrapper without sync. Once done, try to translate the page again.

If the issue continues, it will be necessary to determine whether it is specific to your site or a broader issue. Please check if you can replicate the issue on our sandbox site. The autologin link to our sandbox is given below.

- hidden link

WPML and the necessary add-ons are pre-installed on the sandbox (you only need to complete the setup). After that install the theme and any plugins needed to recreate the issue. After setting up the theme and plugin, try to replicate the issue.

If you're able to successfully replicate the issue in the sandbox, please let me knnow. I will then inspect the issue more closely and, if required, escalate it to our second-tier support for further analysis.

Looking forward to your response and appreciate your patience and cooperation in this matter.

Best regards,
Prosenjit

November 12, 2024 at 9:00 am #16391495

alainL-22

Hello,

Thank you for your answer.
I will do that later, but for now on I have we more urgent issue :
Why on this tour, I don't see the editor of translation (see picture) but it brings me to a page ?
Why, If I want to view the english tour, it turns endlessly but never loads the page (see picures)?
Than I will translate the medias

Thank for your help

Capture d’écran 2024-11-12 125001.jpg
Capture d’écran 2024-11-12 124942.jpg
Capture d’écran 2024-11-12 124850.jpg
November 12, 2024 at 11:43 am #16392449

alainL-22

Oups sorry, I wrote to you too quickly, I found the way to "put back" the translation editor on a tour!!

But still the problem with the pictures and I don't see the "sync wrapper" so I guess it is not the case!!

I will need time to do what you asked and I'm crazy busy these days, so I will do it at the end of the week, I'll let you know, but it works on some pages and not on others !!

Cordially

Alain

November 14, 2024 at 3:08 am #16400543

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Alain,
Thank you for the update!

I'm glad that you've found the solution to the other issue!

For the image meta issue in the other language, it would be best to follow the suggested method first. If the issue persists, you’ll need to replicate it in the sandbox environment so that we can perform the necessary debugging.

Please give it a try and let me know when you have an update. I’ll be more than happy to help you in resolving this issue.

Looking forward to your response and appreciate your cooperation in this matter.

Best regards,
Prosenjit

November 18, 2024 at 7:50 am #16413103

alainL-22

Hello,

I don't know what plugins I should put on the sand box, I don't really get what I should do there, too much complicated with some paid plugins that I don't see i can load on another website !!

also, Why is this tour perfect in French,
hidden link

but if I want to see it in English, it turns endlessly but never loads the page hidden link

Same in Arabic :
hidden link

But not the same in German ?
hidden link

Thank for your help

November 19, 2024 at 3:56 am #16417339

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There!
Thank you for the update. I'll try my best to guide you what to do in the sandbox.

A sandbox is an isolated environment where you can replicate the issue you're experiencing with a theme or plugin. It helps us determine whether the problem is specific to your site or a more general issue.

In the sandbox I’ve shared, you’ll need to install the TravelTour Theme along with the plugins that come with it. Once installed, add some images with captions and the necessary data, create a page, and include the images on the page as you did on your main site. Then, translate the page and check if the issue persists in the sandbox environment.

If so, just let me know and I will start investigating the issue. However, if you're still having trouble replicating the issue in the sandbox, please let me know too. I will take a closer look from your site and assist you further in this matter.

Regarding the issue on the Arabic and French pages, upon closer inspection, it appears that a CSS script from the TravelTour theme is causing the problem. When I disable the script using the browser's developer tools, the translated version loads correctly, and the preloader no longer appears. Please refer to the attached screenshot for more details.

If any CSS file optimization is enabled on your site, try disabling it to see if that resolves the issue. However, if the problem persists, it’s best to create a new ticket for this specific issue, as we’re only able to address one issue per thread to maintain clarity and organization in each thread. When creating the ticket, please provide as many details as possible. One of our supporters will review the ticket and assist you further.

Let’s focus on resolving the media data issue you’ve encountered in the other language within this ticket. Please provide an update, and I’ll be happy to assist further.

Best regards,
Prossenjit

Screenshot 2024-11-19 095152.png
November 26, 2024 at 7:37 am #16442765

alainL-22

Sorry for my late answer,

all the things to do with the sandbox still seems unclear to me and very long to do : should I install all the plugins i have on my website?

Also, I have another issue, this form on the right of the page of each tour with the price is originally written in French, and translated in all the other languages, why, if I open the page tour in French, it appears in English in all the pages tour, and that's not the case in the other languages.

Thanks for your help, I can sort out nothing for the moment and feel I have more and more isues with wpml

Cordially

Alain

Capture d’écran 2024-11-26 083351.jpg
Capture d’écran 2024-11-26 083301.jpg
November 26, 2024 at 3:28 pm #16445890

alainL-22

Also, thank you very much for having found out that the cms code is blocking this page, but unfortunately, i can't see the code you showed onthe picture, it is very small, and zooming makeit blurred. So I don't know what cms code it is and where to remove it

THank you for your help

Cordially
Alain

November 27, 2024 at 3:30 am #16447277

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Alain,
Thank you for the update.

In the sandbox, you’ll need to install the theme and the plugins bundled with it. Since you’re using the Travel Tour theme, please install the following in the sandbox:

- TravelTour Theme
- Tour Master plugin
- Goodlayers Core

Additionally, install any other plugins from the Travel Tour theme that might be necessary to replicate the issue.

The other issue you mentioned might also be related to compatibility. I suspect the Gallery and Form modules where you've noticed the issue might not have the WPML translation support, which could explain why they don't appear correctly in other languages.

Please install the mentioned plugin and theme, then verify if the issue can be replicated in the sandbox so we can begin investigating. If you need help with any particular step, feel free to let me know.

Regarding the picture I shared in my last response – since it was a full-screen screenshot, zooming in may have caused it to appear blurred. However, I've cropped the image and am now sharing the updated screenshot, highlighting the file that was causing the issue. Please check this screenshot: hidden link. I hope you’ll be able to see the problematic file clearly this time.

Please let me know the update. I'll be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

November 27, 2024 at 7:11 am #16447556

alainL-22

Hello Prosenjit,

Thank you for your answer, but I've been to sandbox, appearance, theme, and I can't see how to load a new theme (see the picture here).

PLease, know, I have an awful sciatic and I try to work parallely, not easy for me even to stay sittingn so, please, take me by the hand, and give me very clear and quick instructions to help me go fast. Thank you for your understanding

Cordially

Alain

Capture d’écran (2).png
November 27, 2024 at 7:12 am #16447573

alainL-22

ooops, sorry, i found how to upload a new theme !

November 27, 2024 at 7:18 am #16447590

alainL-22

I can't up load the theme, here the error message I have (see picture)

Capture d’écran (3).png

The topic ‘[Closed] Background of the issue: I am trying to translate media alt text and descriptions on my site https:/…’ is closed to new replies.