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
12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 - -
- - - - - - -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 7 replies, has 2 voices.

Last updated by Noman 1 year, 4 months ago.

Assisted by: Noman.

Author Posts
February 21, 2024 at 9:45 am #15326442

Teemu

Hello!

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.

hidden link

Screenshot 2024-02-21 at 10.01.25.png
February 21, 2024 at 11:59 am #15327619

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

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:

/* WP Memory Limit */
define('WP_MEMORY_LIMIT', '256M');

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:

<wpml-config>
  <admin-texts>
    <key name="et_divi">
      <key name="divi_logo"/>
    </key>
  </admin-texts>
</wpml-config>

And please let me know the results. Thank you

registered locked.png
search logo URL and add translation.png
coyp the logo URL from theme options to search.png
February 21, 2024 at 12:51 pm #15327969

Teemu

Hello,

We have tried all those steps now, and there is still Finnish logo in English site.

February 21, 2024 at 1:08 pm #15328124

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

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.

Thank you

February 21, 2024 at 2:31 pm #15328667

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

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

February 21, 2024 at 5:52 pm #15329891

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

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.

Thank you

February 22, 2024 at 10:10 am #15332475

Teemu

Thanks for your reply, but clearing cache from site and server didn't help.

This is a weird problem, since the logo change between languages worked really well before, only just now it stopped working.

February 22, 2024 at 3:14 pm #15334338

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

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.