Skip to content Skip to sidebar

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

Problem:
The client's multilingual website was not displaying the correct logo for the English version when using the X-Theme.

Solution:
1. We identified the media ID of the current logo image (ID: 19663).
2. We navigated to WPML > String Translation and used the 'Translate texts in admin screens' option at the bottom of the page.
3. We searched for the logo's ID number, checked the box on the left, and selected "Add to String Translation".
4. Once the string was added to the list, we clicked the "+" icon to add a translation for the English language.
5. We entered the media ID of the English logo (ID: 16028) and appended ":full" to specify the image size as required by the theme.

If you're experiencing a similar issue with your logo not switching for different languages, we recommend following these steps to add the correct logo to the String Translation and specify the appropriate media ID for each language.

Please note that this solution might be irrelevant if it's outdated or not applicable to your case. If the issue persists, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, 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.

Tagged: 

This topic contains 7 replies, has 2 voices.

Last updated by Mihai Apetrei 1 year, 7 months ago.

Assisted by: Mihai Apetrei.

Author Posts
February 28, 2024 at 6:16 pm #15355445

Rosevita Warda

hidden link is set up to point to the English version, hidden link

It is a WP site, using X-Theme.

No matter what we do, the logo does not switch from the German to the English logo.
What to do?

February 28, 2024 at 6:32 pm #15355518

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

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

Hi there.

So, if I understand correctly, you want to use a different logo image for EN, right?

1. If yes, can you please let me know where can I find the EN version of the logo?

2. I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Privacy and Security Policy

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/

**IMPORTANT**

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

- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box.

The private box looks like this: hidden link

I will be waiting for your response.

Kind regards,
Mihai Apetrei

February 28, 2024 at 10:09 pm #15355990

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

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

Hi.

I can't login. It says that the username doesn't exist on the site.

Can you please check?

Thank you!

February 29, 2024 at 9:14 am #15356821

Rosevita Warda

Oh, sorry! It must not have saved properly, I re-created a user with the same credentials. Thank you!

February 29, 2024 at 4:40 pm #15359521

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

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

Hi and thank you for the credentials.

I can confirm that I was able to log in successfully this time.

I am spending more time on this and I will get back to you as soon as I have more feedback.

I will leave the ticket assigned to myself for the moment.

Kind regards,
Mihai

March 6, 2024 at 7:29 am #15377255

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

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

Hi there and thank you for your amazing patience.

I was able to replace the logo for you but it took me a while to figure out how things were built in order to be able to find out the proper procedure to follow.

You will see that it is working in this EN translation here:
hidden link

I will also assign a screenshot below.

Mihai

Screenshot 2024-03-06 at 08.27.58.png
March 6, 2024 at 8:55 am #15377925

Rosevita Warda

Oh, no... do you remember what you did?
We are having parallel works because of speed issues and those were worked on in a separate staging environment which will later have to overwrite stage2... sorry, I thought you would just give pointers, or I would have alerted you.
Hopefully you can provide the path you took, or I can let you know when stage is in its latest version to repeat the update?

Sorry for the trouble and Thank you!
Rosie

March 6, 2024 at 9:41 am #15378190

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

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

No worries, I can explain 🙂

So, the ID of your current logo image is this: 19663

Every media added to a WordPress site gets a number id after it has been uploaded to the site.

You can also see that string here (hidden link) and in the screenshot I'm attaching below.

So I went here (hidden link), searched for that id number, checked the box on the left and selected "Add to String Translation" - you can get to this area by going to WPML > String Translation > and then, there's a URL at the bottom of the page called "Text auf Admin-Bildschirmen übersetzen".

After I did this, the string was added to the list inside WPML > String Translation (as you can see in the screenshot I attached below) and I was able to translate it.

By translating it, I mean that I clicked the "+" icon and then I used the media ID of the other logo that we want to use for English (that other ID is: 16028).

I also added ":full" at the end because that's how your theme works and it needs you to specify that information so that the theme knows the size it will use for the logo image.

I am attaching one more screenshot below so that you can see exactly what I added in the translation field 🙂

I hope that things are clear now.

Mihai

Screenshot 2024-03-06 at 10.39.31.png
Screenshot 2024-03-06 at 10.34.53.png