Skip Navigation

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

Problem:
The client was trying to figure out why the main site logo was missing on pages that had been translated.

Solution:
1. We requested temporary access to the client's site to better understand the issue.
2. After debugging, we discovered that the ACF field group containing the Theme options was not translated, which likely caused the logo to only appear in certain languages.
3. We instructed the client to set the field group to "Different fields across languages" by following our documentation here: https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/#choosing-how-to-translate-field-groups.
4. We then had the client go to the "Theme Options" and re-add the logo for each language by clicking "X" next to the image, re-adding it, and saving.
5. The client confirmed that the logo now appears correctly in each language.

If you're experiencing a similar issue, we recommend following the steps above. However, this solution might be irrelevant if it's outdated or not applicable to your case. If you need further assistance, please open a new support ticket and check related known issues at https://wpml.org/known-issues/. We highly recommend verifying that you have installed the latest versions of themes and plugins. For further assistance, please contact our support forum at https://wpml.org/forums/forum/english-support/.

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 10 replies, has 2 voices.

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

Assisted by: Mihai Apetrei.

Author Posts
February 12, 2024 at 10:18 pm #15295067

bobbyl-4

Tell us what you are trying to do?
Trying to figure out why the main site logo is missing on pages that have been translated.

Is there any documentation that you are following?
WMPL documentation

What is the link to your site?
hidden link
The logo shows up for English, Spanish and Chinese Simplified as there were the 2 languages I was testing/trying out the plugin. I can't remember how I got it to work w/Spanish and Chinese.

February 12, 2024 at 10:36 pm #15295105

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

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

Hi there.

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 13, 2024 at 11:03 pm #15299812

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

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

Hi and thank you for the credentials.

I can confirm that I was able to log in successfully. WP-ADMIN is all that we need right now, don't worries.

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

February 14, 2024 at 5:25 pm #15304009

bobbyl-4

Thanks for the update. If this helps at all, I noticed when I was trying to figure out the logo issue when I first tried the plugin, there was a custom field string named Logo. If I remember correctly I think I deleted the translation for that string. Not sure if that was what triggered the logo to show for Span/Chinese translations. Hope that sheds a little light.

February 14, 2024 at 10:50 pm #15304573

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

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

Thank you for the extra info.

I'm still debugging on this matter.

I will get back to you as soon as I have updates.

Mihai

February 15, 2024 at 10:02 pm #15309593

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

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

Hi there.

After a log of debugging, I think I found out what the issue is.

This ACF field group that is containing the Theme options (hidden link) is not translated yet as you can see here:
hidden link

I also attached a screenshot below.

That's probably why the logo works only in those 2 languages.

The automatic translation process is stopped currently so probably WPML did not continue to automatically translate those and I don't have control from my current admin user level to take over these jobs.

But I think we found out what is the issue.

Maybe you can manually duplicate that group or manually translate it in a language where you can't see the logo showing up yet just to check if it will work 🙂

Please let me know how things go.

Mihai

Screenshot 2024-02-15 at 23.56.47.png
February 15, 2024 at 10:33 pm #15309661

bobbyl-4

Hi Mihai,

Thanks for all of this. I manually updated Field Group Labels 16. The logo is not showing up. I've cleared browser cache. That said, I went to look for the Spanish and Chinese field group 16 to view it in Edit to see what may be different from the others and I don't see either of the languages in the Translation Queue. Really appreciate your help and thank you.

February 15, 2024 at 11:59 pm #15309719

bobbyl-4

update: I went through and updated everything that was in the queue for Korean. Still no logo.

February 16, 2024 at 9:38 pm #15313206

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

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

Thank you for the update.

I was finally able to get it working.

1. I went here (hidden link) and set just this field group to "Different fields across languages".

You can see what that does in our documentation here:
https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/#choosing-how-to-translate-field-groups

2. Then, I went to the "Theme Options" (hidden link) and re-added the logo for each language. Clicked "X" next to the image, re-added it, and saved.

While on the "Theme options" page, I switched to each language from the top bar and then removed + re-added the logo.

The logo shows correctly now in each of the languages. 🙂

Please confirm if it looks ok on your side, too.

Thank you for your patience and I am glad that we were able to figure this out together.

Mihai

February 16, 2024 at 10:00 pm #15313211

bobbyl-4

Thank you! Looks good on my end. I appreciate it.

February 16, 2024 at 10:07 pm #15313213

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

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

I am very happy to hear!

I'm glad I could help! 🙂

Can you also please mark this ticket as resolved?

Thank you!

Mihai