This thread is resolved. Here is a description of the problem and solution.
Problem:
I am using WPML on my website and I am trying to translate the logo to different languages, but it's not working. I have uploaded the translated logo in the media library and selected it for the translated pages, but the original logo still appears.
Solution:
- Upload new image to default language media library
- Go to your theme settings and set a new logo image for your default language
- Go to WPML String translations > Admin text, find your new logo / URL and add for translation. If need scroll to admin text and add logo string for translation and translation.
- The string will probably show the image ID, so you should add the image ID you want to use in 2nd language.
Tell us what you are trying to do?
I need a different logo for the FR, ENG and DE sites (different than the root NL site) but it's not working anymore after i added FR as a 4th language
Is there any documentation that you are following?
I've tried several different options in string translation to find it but no luck
Is there a similar example that we can see?
When i inspect my site, the logo used on the root site is: hidden link
But when i search for the string to add a string translation i can only find an old file with that logo but not the one i'm using now. The String Translation shows an upload from 2020 hidden link
For some reason the German and English site are showing the right logo (they are running for 1.5 prior to adding the French site now). But eventhough the logo on the main site is a 2023 upload, the German and English logo go to a 2021 upload: hidden link hidden link
Dutch site (main language) => showing a new 2023 Dutch logo
English site => is showing a 2021 International logo
German site => is showing a 2021 International logo
French site => Should be showing this International "Message in a Cuddle" logo, but is showing the Dutch logo
I've removed the old logo, added a new logo. So now the Dutch (main) and French site are showing the new logo. If you look at the site the new logo is in a 2023 folder upload.
But when I then remove the string from string translation and try to add it again via Admin text....it shows only the string with the old 2020 folder upload. (See image attached to the first post)
Is there a way to reset that string data in some way so that it grabs the new logo?
when saving new data and searching it from admin text, it should show the latest one. So if 2020 image is not in your theme options, there is no way it still shows old, non-existing data, when trying to add it for translation from admin text. The only thing possible is this is some kind of bug.
To check further, please provide admin access to your website, and I will take a look.
The admin text you mention ec_deluxe_all_header_logo is not from your current theme, it is probably from some old one you used before. You are using now Flatsome.
I have added a Flatsome theme logo option for translation. It shows an image ID, so you need to add the correct IDs as a translation.
Thank you so much, that solved it. Then i know why i couldn't find it because the string only stated "4053" and i was searching for the file name. You're the hero of today 😉 Thank you so much for the quick replies, have a nice day and keep doing an awesome job!