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 27, 2024 at 7:56 am #16447748

alainL-22

Ok, finally, i could upload the theme and the mentionned plug ins.

I 've been to wpml, media translation and ticked on ...everything (see picture), but i don't see wpml/media translation so far!!

I'm stuck, please, help !!

Cordially

Alain

Capture d’écran (4).png
November 28, 2024 at 4:46 am #16452233

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

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

Hello Alain,

Thank you for the update. I can see some progress in the sandbox.

The media translation wasn't appearing in the menu because the plugin was deactivated. I’ve activated the plugin in the sandbox, so you should now see it.

Since you've installed the theme, I took an additional step to install the required plugin and investigate the issue. It appears that in the image gallery element, images added in the default language are being copied to the translation. The array containing the image IDs seems to be the same(check the attached screenshot), suggesting that the element lacks WPML support to load the translated images.

Typically, the `wpml_object_id` filter hook is used to retrieve the translation's ID, but it seems this hook is not applied in the image gallery element of Goodlayer. As a result, the translated images do not load and appear in other languages.

To properly resolve the issue, several code changes are needed to ensure the images load correctly. This requires the author's attention, so I kindly suggest reaching out to the plugin author/support and informing them about the issue. You can share the findings I've included and I hope they can provide helpful suggestions to resolve it.

For now, you can solve the issue by manually adding the translated image in another language. Here are the steps:

- From the WordPress editor, switch to the secondary language using the language switcher on the top bar of Admin(Screenshot: hidden link)
- Once done, go to the Image gallery element and manually add the images. Make sure that the Images and their information such as caption, and alt information are translated in WPML > Media Translation.

I hope you can understand. If you have any other questions or need clarification on any particular step, please let me know. I'll be happy to help.

Best regards,
Prosenjit

Screenshot 2024-11-28 103539.png
December 1, 2024 at 1:34 pm #16463035

alainL-22

Hello Prosenjit,

Thank you for this information I forwarded to Goodlayers-Travel tour. We'll see.

Anyway, I still have an issue :

Why all the ooking fomrs that I translated in the different languages, remains in English in the french language and is correctly translated in all the othe languages.
PLease, note thet the original language is French then translated, so, why in ENglish ?

By the same way, how to translate wht is in the form (surround in red, 3rd picture).

Thank you for your help

Cordially

Alain

Capture d’écran 2024-12-01 143008.jpg
Capture d’écran 2024-12-01 143212.jpg
Capture d’écran 2024-12-01 143306.jpg
December 2, 2024 at 5:55 am #16464188

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

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

Hello Alain,
Thank you for the update.

The issue with the form could be similar to the media information issue mentioned in this ticket, particularly regarding the options that appear in the dropdown. If the options are dynamic, it’s possible that translation support hasn’t been extended to those specific options, which could explain why they don’t appear translated. It would be a good idea to reach out to the Travel Tour theme support team and ask if translation support has been implemented for the dropdown options in the booking form. They might have suggestions that could help resolve the issue.

Regarding the text that remains in English on the French version, it’s possible that it hasn’t been translated into French yet, which is why the default English text is appearing. Could you please go to "WPML > String Translation", search for the English text, and check if it has been translated into French?

If not, please add the French translation for those texts. Once done, the text should appear in French on the French version of the site.

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

Best regards,
Prosenjit

December 2, 2024 at 10:15 am #16465271

alainL-22

Hello Prosenjit,

Thank you again for the follow-up.
I will se with Travel Tour theme for the 1st part.

For the second on, unfortunately, the texte is translated in FRench, and translations doesn't seem to appea anymore,, as I know for sure it was ok before. I don't know what and why, but it is like this now : French text in English (see picture that shows the text is translated in wpml string translation)

Cordially

Capture d’écran 2024-12-02 110721.jpg
December 3, 2024 at 4:25 am #16469272

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

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

Hi Alain!
Thank you for the update.

It's possible that another instance of the same string exists in String Translation and needs to be translated. Before searching for the string, enable the "Exact match" option next to the search box in String Translation(Screenshot: hidden link), then perform the search. If you find any additional instances, with or without the "%" value, translate them as well and check again.

If the issue persists, please try the following steps and check if they helps in solving the issue.

- Please clear the caches from all optimization plugins installed on your site and from the browser as well. If possible, please temporarily disable the site caching.
- Once done, go to "WPML > Theme and Plugins localization".
- Make sure that the option 'Automatically load the theme's .mo file using 'load_textdomain'' is enabled.
- Now, go to WPML > Support > Troubleshooting
- Scroll down and you'll see a button 'Show custom MO Files Pre-generation dialog box'. Click on that.
- A popup will appear containing the 'Generate MO Files' button. Click on that and wait till the process is completed.

Please try and let me know how it goes. If you need further assistance, I'll take a closer look and try my best to assist you further in this matter.

Best regards,
Prosenjit

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.