Background of the issue:
We have a bug regarding media translation and need your help. On this site, we are trying to set up logo translation with language translation, so when the language is changed to let's say Georgian, the logo should be changed as well. We have been trying to set it up via the media translation tool but it did not work. After that, we tried string translation and there is no + sign to add a string to the translation.
Symptoms:
The media translation tool did not work for logo translation, and there is no + sign to add a string to the translation in the string translation tool.
Questions:
Can you please help us debug the issue with logo translation?
Why is the media translation tool not working for logo translation?
Why is there no + sign to add a string to the translation in the string translation tool?
Welcome to the WPML support forum. To help speed up the support process, I've enabled a private message to provide your debug information. Please follow these initial debugging steps: https://wpml.org/faq/provide-debug-information-faster-support/
In summary:
- Go to "WPML > Support > Debug Information" (link)
- Copy the Debug Information from there.
- Find the private field I activated and paste that information.
---
The solution may vary depending on your setup, so please provide as much detail as possible about how the logo was inserted in the original language. Here are a few pointers:
- If you are using header/footer templates, you also need to translate the header template in order to see the translated media file.
- If the logo has been added on an option page from your theme, you probably need to make that field translatable to translate the file URL or the file ID.
Looking forward to the details to assist you further!
Hello, thank you for the reply. For logos, we are not using templates it is customized by appearance customization. every field that logo was attached to was translated. we also tried sting translation as was mentioned previously. We will be sending debug info. if further details are needed we are more than glad to provide them. thank you have a nice day
Thank you for providing all the details—I now have a clearer understanding of your setup.
I've created a short video for you: hidden link
Here's a quick summary of the steps:
1. Open the Customizer and add your logo for the default language.
2. Next, go to the Media Library and take note of the IDs for your logos in both the default and secondary languages.
3. Go to "WPML > String Translation", scroll to the bottom, and click on "Translate texts in admin screens".
4. On the next page, search for "logo". You can identify the correct strings using the default logo ID.
5. Select these strings and click "Add to String Translation".
6. Return to "WPML > String Translation" and translate the logo ID as needed.
At this stage, I'd like to request a temporary admin access (wp-admin and FTP) – preferably to a staging copy of your site – so I can further investigate. I will activate a private field for your next answer where you can provide that information safely (this field is only visible by you and the support team). Don't share your own admin account, create a new one that you will delete when we finish troubleshooting.
IMPORTANT: Before we proceed, please backup your site and database.
The topic ‘[Closed] Logo translation’ is closed to new replies.