Home›Support›English Support›[Resolved] Issue with Multilingual Logos։ Not Changing When Switching Languages in WPML
[Resolved] Issue with Multilingual Logos։ Not Changing When Switching Languages in WPML
This thread is resolved. Here is a description of the problem and solution.
Problem: You are trying to set a different logo for each language on your multilingual website using WPML. Despite using WPML's 'String Translation' feature and translating the logo IDs for each language, the logo does not change when switching languages. Solution: We recommend following these steps to ensure the logo changes correctly for each language: 1. Navigate to WPML >> String Translation page. 2. Click on the “Not seeing strings that you are looking for?” section and then click the Admin texts translation link. 3. Search for the logo ID and enable its translation. 4. Return to the WPML >> String Translation page and add the translated logo ID. This should allow the correct logo to display for each language on the frontend. You can update the translation as needed from the String Translation page.
If this solution does not resolve your issue, or if it seems outdated or irrelevant 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.
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 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?
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:
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.
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
Thank you very much! The issue has been resolved. I apologize for not doing it correctly and taking up your time.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.