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.

Tagged: 

This topic contains 0 replies, has 0 voices.

Last updated by artakG 1 day, 20 hours ago.

Assisted by: Noman.

Author Posts
April 12, 2025 at 12:11 pm #16925211

artakG

Background of the issue:
I am trying to set a different logo for each language on my multilingual website using WPML. I have uploaded three different logos and used WPML's 'String Translation' feature to make the logo's ID translatable. I then translated it and inserted the appropriate logo IDs for each language.

Symptoms:
When switching languages, the logo doesn’t change. Clearing the website cache doesn't help.

Questions:
Why doesn't the logo change when switching languages despite using WPML's 'String Translation' feature?
Is there a specific step I might be missing in the process of setting different logos for each language?

April 13, 2025 at 2:00 pm #16926491

Noman
WPML Supporter since 06/2016

Languages: English (English )

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

Hi,

Thank you for contacting WPML Support. I can see the issue on your site, could you please try to follow the below steps and see if this resolves the 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 line to your wp-config.php file to increase WP memory, wp-config.php file is located in the root of your WP install:

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

You can add it anywhere in your file. I recommend placing it right before the following line:

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

2. As you have translated the logo image ID from WPML >> String Translation page, could you please try to add the translation of logo image URL and see if this resolves the issue.

3. If the issue persists, 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, meaning only you and I can access 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 essential.

Thank you

April 13, 2025 at 4:56 pm #16926726

Noman
WPML Supporter since 06/2016

Languages: English (English )

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

Thanks for providing the login details. I followed the below steps:

1. Went to WPML >> String Translation page.
2. Opened the “Not seeing strings that you are looking for?” section and press the “Admin texts translation” link.
3. Searched for the logo ID and enabled its translation as you can see in the attached screenshot.
4. Went to the WPML >> String Translation page again and added logo ID as translation and now it seems to show the correct translation at frontend.

You should be able to update the translation from here if needed:
hidden link

Could you please check and confirm?

Thank you for your cooperation.

logo ID enabled.jpg
April 13, 2025 at 5:01 pm #16926742

artakG

Thank you very much! The issue has been resolved. I apologize for not doing it correctly and taking up your time.