This site has two languages, Finnish and English. Earlier the logo changed when changing to another language in the front end. But now the Finnish logo is also showing in the English pages. This is a new problem, earlier the logo switch worked fine between languages. Can you help me resolve the issue? I attached a screenshot where we have translated the logo.
Thank you for contacting WPML Support. Could you please try to follow the below steps and see if this resolves your issue:
1. The current WP Memory Limit on your site is 40MB. The WP memory limit needs to be increased, it's different from PHP memory. PHP memory is fine but WordPress uses 40MB as default in your site. The minimum requirements for WPML are 128MB: https://wpml.org/home/minimum-requirements/
Please add this to the top of wp-config.php to increase WP memory:
2. Go to Divi >> Theme options and copy the logo URL as you can see in the attached screenshot.
3. Go to WPML >> String Translation page.
4. Scroll down and click on the Translate texts in admin screens » link at the bottom of the page.
5. Search for logo URL string.
6. Select the string.
7. Click on the Add to String Translation button.
8. Then click on the "« Return to String Translation" link.
- If the string shows “Registered and Locked” status it means the string is already available for translation, so, please go to WPML >> String Translation, search for the logo image URL, add the translation, and see if this resolves your issue.
- If the issue still persists, please go to WPML >> Settings > Custom XML Configuration section and add the below XML and then try to translate logo string again:
Thanks for trying out. I need to check this further, please provide temporary access (WP-Admin and FTP Login info) to your site (preferably staging site), so that I can look into your setup and debug the issue.
Your next answer will be private which means only you and I have access to it.
=== Please backup your database and website ===
✙ I would additionally need your permission to deactivate and reactivate Plugins and the Theme and to change configurations on the site. This is also a reason the backup is really important.
I am still debugging this issue, settings seems correct. Can you please try Cloudflare CDN cache and any other server side cache from your hosting? I suggest disabling CDN and hosting cache while we debug this issue as it creates problem in testing when cache is on.
I am working further on it, please let me know once above is done. Thanks
Thanks for sharing the login details. I have followed the below steps in order to debug this issue:
1. Tried to replicate the issue at a fresh WP site with the latest version of Divi theme and it works correctly there: hidden link
Here is auto login URL of fresh WP site: hidden link
2. Tried to change the logo from Divi >> Theme options in the default language but the frontend still shows the old logo. I tried to check the issue in the minimal environment by deactivating all plugins including WPML but the issue still persists also in the default language.
So, it seems to be a cache related issue on your site as the issue also arising in the default language logo even WPML plugins are deactivated, so please try to clear all sorts of cache from your site/server and see if this resolves your issue.
As a test, can you please try to follow the below procedure:
1. Please take a backup of your site first for safety reasons.
2. Deactivate WPML plugins.
3. Go to Divi >> Theme options and try to change the logo image in your site’s default language.
4. Visit the front end and see if it shows the updated logo or not at the front end of your site.
If the updated logo doesn’t show at the front end then it might be a Divi theme-related issue and you may need to contact them about it as the issue also arises in your site’s default language without WPML.
If it shows the updated logo correctly at the front end, then please share the screenshot of the updated logo with us so that we can further debug it by enabling WPML plugins.
Please let me know the results,
Thank you
The topic ‘[Closed] Logo doesn't change when switching to another language’ is closed to new replies.