Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client wanted to translate his logo but he couldn't find the logo URL in "WPML > String Translation"

Solution:
In this particular case, the logo was added by a theme option (Astra theme).
- First, go to the media library to get the IDs of your different logos
- Then go to "WPML > String Translation > Translate texts in admin screens" and search for the ID in the main language
- Add 'site_logo' to "String Translation"
- Last translated ID in String Translation

Relevant Documentation:
https://wpml.org/forums/topic/elementor-header-logo-not-translating-with-wpml-media-add-in/#post-14018257

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.

This topic contains 6 replies, has 2 voices.

Last updated by Nicolas V. 1 year, 7 months ago.

Assisted by: Nicolas V..

Author Posts
July 10, 2023 at 2:25 pm #14007041

jacquesC-4

I am trying to:Translate the header logo in Elementor with WPML Media

Link to a page where the issue can be seen:Home page of hidden link

I expected to see:French logo on French site.

Instead, I got:English logo

July 10, 2023 at 9:24 pm #14009365

Nicolas V.
Supporter

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

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

Hello,

Welcome to the WPML support forum.

I think that in this case the logo isn't an attachment from a post/page and that's why you can't translate it in "Media translation".

Instead you should be able to translate the logo url in "WPML > String Translation". Search for "LOGO_SYOU.png"

If you can't find it in "String Translation", scroll down at the bottom left and click on "Translate texts in admin screens".
Search for it, select it (with the checkbox at the left) and click on "Add to string translation"
Go back to "WPML > String Translation" and translate it.

If the issue persist, you may have to translate the image ID instead of it's URL.
Try the solution offered here in the yellow "summary" box: https://wpml.org/forums/topic/i-cannot-translate-my-site-elementor-logo/

July 11, 2023 at 10:45 am #14013359

jacquesC-4

Hi Nicolas,

No results for LOGO_SYOU.png in the string translation.
None either in "Translate texts in admin screens".
I tried to translate the image ID yesterday (found that same post) but no luck.

Let me know if you would like screenshots of anything.

Thanks!

July 11, 2023 at 4:06 pm #14016915

Nicolas V.
Supporter

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

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

Hello,

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 have a closer look?

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.

July 11, 2023 at 10:19 pm #14018257

Nicolas V.
Supporter

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

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

Hello,

Thanks for the access. The logo was not in Elementor but in your Theme options (Astra). However the solution was pretty similar:
- First, I went to the media library to get the image ID for the EN logo (1754) and the FR logo (1758)
- Then I went to "WPML > String Translation > Translate texts in admin screens" and search for 1754
- I added site_logo to "String Translation" (the other one was already added)
- Last I translated 1754 by 1758 in String Translation

screenshot-2023.07.11-17_13_15.png
screenshot-2023.07.11-17_15_55.png
July 12, 2023 at 10:49 am #14022705

jacquesC-4

Thank you so much for your help!
I can't seem to close this ticket, tried in multiple browsers, when I click submit in the 'My issue is resolved' section nothing happens.

July 12, 2023 at 7:10 pm #14027913

Nicolas V.
Supporter

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

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

Hello,

I'm glad we found a solution. I'll close the ticket for you. Please feel free to open a new chat anytime you have questions, we will be happy to help.

Have a good day ahead, Bye 🙂