This thread is resolved. Here is a description of the problem and solution.
Problem: The client is unable to display an English version of the logo on their bilingual site (Greek default, English secondary) after moving from a temporary domain to a live site. The client has tried updating the logo URL and clearing the cache but cannot find the new image URL in the string translation. Solution: We recommend searching for the image ID in the admin strings section and translating it. This involves adding a translated image ID for the English version. Each image in the media library has an ID, which can be translated following the steps in our documentation on translating theme options: https://wpml.org/documentation/getting-started-guide/string-translation/how-to-translate-theme-options/
If this solution does not resolve the issue, it may be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum.
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.
Background of the issue:
I am trying to display an English logo on my site, which has two languages: Greek (default) and English. I initially used a temporary domain (23109141231.thesite.link) during development, which I have unregistered from WPML. My site is now live at hidden link. I searched in the admin text area to find the string for the logo. The only string I found is: [widget_media_image][1]url hidden link. I changed the image to a new one named newLogoWpml, scanned for new URLs using the Astra theme, and deleted the cache from the troubleshooting page, but I couldn't find my new image.
Symptoms:
I cannot find a way to change the image from string translation, and the problem does not appear somewhere specific.
Questions:
How can I change the logo to display the English version on the English site?
Why can't I find the new image URL after scanning and clearing the cache?
please go to your theme option and select/upload the correct logo image for your default language, make sure it shows correctly. That way the new URL of the image is correctly updated.
Then go to String translation and at the bottom click the link to search for admin strings. Search for URLs and click to export that string XML configuration. Add the configuration to WPML > Settings > Custom XML configuration. Now go back to String translation, search for that URL, and translate it, adding your translated logo image URL.
that does not matter or tell much, it matters how Astra is saving that option in DB.
As I can see from the previous tickets with same doubts, it is mostly likely the image ID, if you can check for that image ID in the admin strings and if it is there add and translate it, by adding a translated image ID for 2nd language.
Each image in media library has an ID as explained in the post shared above.