Skip Navigation

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

Problem:
The client is trying to translate the site logo using WPML but encounters an issue where the logo does not change per language, remaining as the default language logo.
Solution:
1. Ensure that the theme used (e.g., The7 theme) supports setting different logos via theme options.
2. Translate the logo ID in WPML's String Translation to inform WPML which logo to display for each language. If the default language logo ID is not visible on the String Translation page, use the 'Translate texts in admin screens' link to add it to the String Translation table. Then, add your second language image ID. For detailed guidance, visit How to Translate Theme Options.
3. If the logo images are not added for translation, navigate to WPML > String Translation > Admin text, search for your logo URLs/image, and add those strings for translation.
4. Check if the Multibyte String PHP extension is enabled on your hosting, as its absence can affect functionality.

If these steps do not resolve the issue or if the solution seems outdated or irrelevant to your specific case, we highly recommend checking related known issues at WPML Known Issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If problems persist, please open a new support ticket.

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 5 replies, has 1 voice.

Last updated by nikolaosM 3 weeks ago.

Assisted by: Dražen.

Author Posts
March 12, 2025 at 11:05 am #16806498

nikolaosM

Background of the issue:
I am trying to translate the site logo using WPML.

Symptoms:
I expected to see a different logo per language, but instead, I got the same logo as the default language.

Questions:
Why is the media translation not working for the site logo?
How can I display a different logo for each language?

March 12, 2025 at 11:06 am #16806589

nikolaosM

Hello,

I want to add the following to the ticket:

I have also translated the image id in the string translation and it did not solve the issue.

Thanks!

March 14, 2025 at 7:22 am #16814663

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

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

Hello,

It seems the minimum requirements on the server are not met:
https://wpml.org/en/home/minimum-requirements/

Could you please increase the WordPress memory limit (WP Memory Limit) to at least 256 MB? WPML requires at least 128 MB.
Your current values ​​are:

PHP Memory Limit 1 G
WP Memory Limit 40 MB

To do this, you need to connect to your website's server and open the wp-config.php file in a text editor. The file is located in the WordPress root directory.

Add this code to the wp-config.php file to increase WordPress's memory:

define ('WP_MEMORY_LIMIT', '256M');

Add this just before this comment:

// That's all, stop editing! Happy blogging.

The current values ​​can be viewed under WPML > Support > WordPress.

These settings can be restricted directly by your hosting provider. Therefore, I recommend contacting them and asking them to change them directly if the changes are not applied immediately.

If adjusting the limit will not solve the issue, please let us know.

Best regards,
Andreas

March 14, 2025 at 8:18 am #16814959

nikolaosM

I have already done that and it did not solve the issue

March 17, 2025 at 7:40 am #16823175

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

Some themes, like The7 theme, allow you to set logos via theme options.
If you want to use a different logo per language, you need to translate the logo ID in String Translation. This tells WPML which logo to display in each language.

If you cannot find the default language logo ID on the String Translation page, you can click the Translate texts in admin screens link to add it to the String Translation table and then add your 2nd language image ID.

For example, as mentioned here: hidden link

Let me know how it goes.

Regards,
Drazen

March 17, 2025 at 8:26 am #16823360

nikolaosM

Thia is also something I have done already hidden link

March 17, 2025 at 9:26 am #16823582

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

thanks, let me have a look.

Please share the access details of your website, so I can log in and take a look.

I’m enabling a private message for the following reply.

We have strict policies regarding privacy and access to your information.

Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/


- Please backup the site files and database before providing us access. 

- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.



Regards,
Drazen

March 18, 2025 at 8:19 am #16828398

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

thanks.

If I search for your logo image, I can see these have not been added for translation.

Please search from WPML > String translating > Admin text, your logo URls / image, and add those strings for translation and then translate.

You need to search and add for translation images you added for logo via your theme options.

Regards,
Drazen

String Translation ‹ ErgoCNC — WordPress.jpg
March 18, 2025 at 4:17 pm #16831369

nikolaosM

Hello,

Ok I have translated the strings in the screenshot hidden link. Still no result.

Thanks!

March 19, 2025 at 8:24 am #16833715

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

thanks.

I see you are missing Multibyte String PHP extension. Please ask your hosting to enable it.

- hidden link

Do you have a staging site where I can check further it still does not work after above step?

Thanks,
Drazen

March 19, 2025 at 9:25 am #16834094

nikolaosM

Hello,

Thanks for the help that solved the issue.