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

Last updated by Bigul 1 year, 9 months ago.

Assisted by: Bigul.

Author Posts
July 12, 2023 at 9:09 pm #14028209

mattW-27

I am trying to: Translate the Divi logo that is used in the header. I followed the solution provided (https://wpml.org/forums/topic/i-want-a-different-logo-with-each-language/ ) which works great at first for a few days. At some point though, the default Divi logo URL becomes overwritten with the other string translation URL. My website languages are English and German. So after this issue happens, both the English and German versions of the website end up having the German version of the logo. I'm able to resolve the issue by going back and resetting the default Divi logo in the Divi options. But eventually the issue happens again.

Link to a page where the issue can be seen: hidden link

I expected to see: The default logo specified in the Divi Logo options when on the default (English) version of the website.

Instead, I got: The translated (German logo) when on the default (English version of the website)

WPML Divi Logo String Translation.png
Divi Logo Settings.png
July 13, 2023 at 9:38 am #14030473

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

Hope it has happened randomly. Please let us know the following details for tracking the issue.

1) Are you using the latest version of the Divi theme(4.21.1) - hidden link

2) Have you ever updated the theme options from secondary languages(After switching to it via the Dashboard language switcher of the top header)

3) Also, please follow the steps described there if you are translating the Divi Global templates - https://wpml.org/documentation/theme-compatibility/divi-builder/#translating-custom-global-header-footer

--
Thanks!

Bigul

July 13, 2023 at 6:27 pm #14035641

mattW-27

Hi Bigul,

Thanks for your response.

1) Yes I'm using the latest version of the Divi theme(4.21.1)
2) It's possible but I'm not sure. I'll be aware of this going forward. What would happen if the Divi theme options are updated when on one of the secondary languages in the top header?
3) I'm not currently translating the Divi Global Header template.

July 14, 2023 at 7:17 am #14037631

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the details. There are chances for conflicts while updating the theme options from different languages. So always translate the theme option values using WPML String Translation. Then make sure the issue is existing or not. Hope it will help to resolve the issue.

Refer to this article for more information - https://wpml.org/documentation/getting-started-guide/string-translation/how-to-translate-theme-options/

--
Thanks!

Bigul

July 14, 2023 at 3:57 pm #14040739

mattW-27

Hi,

To clarify, I never use the theme options while in a different language. I always use the string translation. I edit the string "[et_divi]divi_logo" in the string translation editor. It correctly translates the Divi logo for the secondary language, but also has a bug where at some point/event the default/English value for "[et_divi]divi_logo" becomes overwritten with the secondary language value. I think I'll have to solve this issue by not using the string translation to translate the Divi logo, and instead translate the Global Header. But it would good to log a bug with WPML to understand why this happens and resolve it. Because in this case, it would be more convenient to use the string translation that translate the entire header.

Thanks,

Matt

July 15, 2023 at 7:48 am #14042021

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hi Matt,

Thank you for the details. Hope you have corrected the logo in the original language now.

Please fill in the private details fields after a full site backup. I would like to access the admin area of your site for further checking. Refer to the following links for more details about our private information sharing policies.

https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

hidden link

--
Thanks!

Bigul

July 20, 2023 at 1:13 pm #14072669

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hi Matt,

Thank you for the updates. But I am not able to log in to the site. It shows the following warning. Please check.

LOGIN BLOCKED: 2FA is required to be active on your account. Please contact the site administrator.

--
Thanks!

Bigul

July 20, 2023 at 4:07 pm #14074237

mattW-27

Thanks. Please try again now.

July 21, 2023 at 2:26 pm #14080553

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hi Matt,

Thank you for the updates. I can log in now. But the test site is too slow. It often shows a blank screen or a connection time-out error. Please check the attached images.

Just to make sure, you have corrected the logo in the original language now in the test site and live site, am I correct?

--
Thanks!

Bigul

2023-07-21_20-39-33.png
2023-07-21_19-51-29.png
July 21, 2023 at 2:38 pm #14080727

mattW-27

Okay, not sure why you're getting a blank screen. But anyways, yes, I've resolved the issue by translating the Divi global header instead of the Divi logo string value. So this approach works and is more reliable. There is obviously still a bug/issue with regards to translating the Divi logo (Divi Theme options) which should be looked into, but it's not affecting me personally anymore at this moment. Thanks for your help!