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.

Our next available supporter will start replying to tickets in about 7.21 hours from now. Thank you for your understanding.

This topic contains 15 replies, has 2 voices.

Last updated by Heidi Stengaard 1 year, 4 months ago.

Assisted by: Andreas W..

Author Posts
January 27, 2023 at 12:53 pm #12904011

Heidi Stengaard

Tell us what you are trying to do?
= I want to activate the 5 different custom headers that appers on the diffent language version of the website. Each custom header has a different logo link that fits the language. Exampel:when I am on the Swedish language version of the website I need the Swedish custom header with the Swedish logo link to be activated, but right now its only the English menu version that is active.
Info: languages= English, Danish, Swedish, Finnish and Norwegian

Is there any documentation that you are following?
=https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/#how-to-use-manual-translation

What is the link to your site?
=hidden link

January 28, 2023 at 7:27 pm #12909621

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

First, you will need to upload alternative images for your logo in each language on WPML Media.

https://wpml.org/documentation/getting-started-guide/media-translation/

Then you need to go to WPML > String Translation > Translate texts in admin screens (link on the bottom of the page) and search for the logo image source URL.

Add the string with the URL so String Translation.

Then go to your Media Library, switch the language in the top admin bar, search for the translated logo and copy its source URL. This source URL you then use as translation on String Translation.

In case this does not work out as expected, please let me know.

Best regards
Andreas

January 30, 2023 at 11:07 am #12920819

Heidi Stengaard

Hi'

I have used wpml media translation to uploade a logo image for each language, but I can’t find the string for the svg logo image so I can “translate” the logo link.

Please confirm that I can’t make the logo link change directly when I am inside a manually translated header layout? For example I have translate the header menu manually with duplicate so under each language In divi library is there a menu layout, where I have change the image and the logo link directly – Should this work or not?:)

If needed se attached screenshots:)

***CREDENTIALS REMOVED BY SUPPORT AGENT***

change-logo-link-in-layout-part3.png
change-logo-link-in-layout-part2.png
change-logo-link-in-layout-part1.png
i-have-media-translated.png
cant-find-string.png
January 31, 2023 at 12:51 pm #12929665

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Please take note that you published your site's credentials publically on this ticket, for I have removed this sensitive information now.

Please try to translate the URL of your logo when translating the header layout with the WPML Translation Editor by using this option inside the WPML Translation Editor:

https://wpml.org/faq/how-to-translate-urls-shortcodes-and-html-attributes-using-the-advanced-translation-editor/

In case you will not be able to locate the URL this way or the translation will not work out as expected, please let me know.

Best regards
Andreas

January 31, 2023 at 2:58 pm #12931181

Heidi Stengaard

Hi’ Andreas,

Thank you for removing the sensitive info:) But should we move the dialog toa privat message? And you can get the login details?:)

I can not search & find the logo image url in the Advanced Translation Editor. (See attached image)

I’ve also tried to find the logo image in string translation by ID, but I can not find it.
(Tried to follow: https://wpml.org/forums/topic/logo-image-not-changing-following-language-selection/)(See attached image)

cant-find-the-logo-image-by-id-in-string-translation.jpg
can-not-search-and-find-logo-image-url.png
January 31, 2023 at 4:27 pm #12932113

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

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.

IMPORTANT

Please make a backup of 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

The steps are also shown in this video: hidden link

Best regards
Andreas

February 1, 2023 at 4:01 pm #12940561

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

You will need to translate the Divi Headers at WPML > Translation Management:

Guide:
https://wpml.org/documentation/theme-compatibility/divi-builder/#translating-custom-global-header-footer

Now, somehow your custom headers form the Divi Theme Builder are not showing up here, even after editing and saving one of the custom headers in Divi.

Please update Divi to the latest version and also make sure that all plugins are updated - then we can test again.

WPML Updates can be found at Plugins > Add new > Commercial.

Best regards
Andreas

February 2, 2023 at 9:06 am #12944769

Heidi Stengaard

Hi' Andreas:)

I have update theme and plugins but, when I make a new menu layout it still does not show under wpml>translation management. (see attached:no-new-menu-layout-in-wpml-translation-management)

So you think there is a conflict mellem divi og wpml?

But I can go to Divi library>Find the new menu layout> hover over it and then I can click add translation (see attrached: "divi-library-add-translation" and "into-advanced-translation-editor_from-divi-library")
-But even if I translated it, then there is still the problem with finding and translating the logo link.

Is it possible to make the chat live, so we faster can communicate?:) It is beginning to be a urgent task for the customer (hidden link) to get the problem solved:) Hope it is possible:)

into-advanced-translation-editor_from-divi-library.png
divi-library-add-translation.png
no-new-menu-layout-in-wpml-translation-management.png
February 2, 2023 at 1:09 pm #12947649

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

This may be due to one of the Divi add-ons used, which are further not updated:

- DiviMenus version 2.7.0 (current version 2.18.0)
- Divi Blog Pro 1.2.18 (current version 1.2.23)

Can you please test whether the problems disappear if you disable these add-ons individually?

Best regards
Andreas

February 2, 2023 at 1:55 pm #12948015

Heidi Stengaard

DETAILS
In the private information form I have provided login details and ftp details. There has been made a staging site. I have updated divi theme and plugins, except DiviMenus version 2.7.0 (current version 2.18.0) and Divi Blog Pro 1.2.18 (current version 1.2.23) because it does not make sense to renew license, so just deactivate the plugins if you think the create an issue.
………………………………………
PRROVIDING INFORMATION TO INVESTIGATE/OBSERVE THE ISSUE
I have tried different things

1) Made a menu in theme builder > saved menu in divi library > WPML >Translation Management>but could not find menu/section/layout in translation manager under dashboard tab> went to divi library > translated manually by making duplicate > went under each language > went into menu layout for each language > change the logo link directly in divi library menu layout.
-Did not work:(

2)Translated logo image by wpml Media translation > made a menu in theme builder > saved menu/section/layout > but could not find menu/section/layout in translation manager under dashboard tab > went into divi library and under each language > hover over menu layout > clicked “add translation” > Advanced translation editor> translated layout > tried to search and find the image logo by url and ID so I could change the logo link.
-But I could not find the logo. I also tried with String translation, but I could not find the string for the logo link.

Documentation
https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/#how-to-use-manual-translation
https://wpml.org/documentation/theme-compatibility/divi-builder/#translating-custom-global-header-footer
https://wpml.org/documentation/getting-started-guide/media-translation/
https://wpml.org/forums/topic/different-logo-on-other-language/
https://wpml.org/forums/topic/i-want-a-different-logo-with-each-language/
…………………………………………
GIVING CONFORMATION AND APPROVAL OF FOLLOWING
1) Is this a Live/Production or Staging/Dev site?= staging site hidden link
2) Is it OK to work on this site?= yes
3) Is it OK to try some changes/fixes on the site and/or activate/deactivate/install a plugin on the site, which may cause conflicts with the other parts of the site?=yes
4) Have you taken full backup of your website and database?=It’s a staging site so we have that and the live site and on Kinsta it automatically takes back-ups:)

...............................
REFERENCES

https://wpml.org/forums/topic/custom-headers-with-5-wpml-duplicate-translations-wont-activate/

https://wpml.org/forums/topic/the-logo-should-link-to-the-frontpage-of-that-language-version/

https://wpml.org/forums/topic/wpml-chat-support-ticket-by-heidi-stengaard-1675328938/

February 3, 2023 at 3:59 am #12952161

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

You hardcoded the URL into the widget, which seems to be an issue, as we can not translate this URL in this case - but it works when you actually use a Divi Dynamic Link as the source.

See screenshots.

Guide:
hidden link

Best regards
Andreas

use dynamic homepage link instead.png
logo link URL.png
February 3, 2023 at 6:25 am #12952801

Heidi Stengaard

Hi’ Andreas:)

I am not quite sure what you are telling me.
When I go into the divi library in the “menu-transperent-baggrund-27-1-23” for each language, then the logo link fits the right language version (see attached with Danish and Finnish as examples)

What should I do differently?:)

Would it be okay if I asked for at screenrecording of how I need to translate the menu correctly just so it works for the English and Danish site. Then I can see what I am doing wrong and afterwards can try your approach on the live site for all languages ?:) You are welcome to change “menu-transperent-baggrund-27-1-23” > or save new layout from it > translate correctly so the logo link changes when a different language is choosen:)

Have a nice day:)

logo-link.jpg
February 3, 2023 at 1:54 pm #12956255

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

The logo link is currently redirecting to all languages accordingly.

I achieved this by going to:

Divi > Theme Builder > Custom Header "All Pages" > Edit

Now, on the top bar menu widget I replaced the logo link with Divi dynamic page link, as seen in the screenshots of my last message.

For more details about this feature please read the Divi documentation that I placed in my last comment. Make sure to use this feature when using internal links on the site.

This instantly solved the issue, even without the need of translating anything.

Best regards
Andreas

February 6, 2023 at 12:11 pm #12967541

Heidi Stengaard

Hi’ Andreas:)

You are awesome! thank you sooo much!!! YES, using the Divi dynamic content > using field “Homepage link” seems to solve it:)

So is it not possible to have logo link redirecting to all languages accordingly by using WPML?:)
Next time I need the logo link to link to different language-frontpages, I need to do what’s best practice – would you say using “Divi dynamic content”, is best practice?:) Or could it from your expert knowledge make conflicts or have disadvantages in the future?:)

Soon I need to translate a menu on another website and I it could be good to fully understand the best approach, so the next translation goes more smoothly:)

February 7, 2023 at 4:00 pm #12980567

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

This is specifically in Divi like that.

With other themes, we usually can locate the logo URL from the theme options and then translate it with String Translation.

In case you use a page builder with a template like for example Elementor or WP Bakery, then you should e able to translate the URL in ATE following this guide:

https://wpml.org/documentation/translating-your-contents/advanced-translation-editor/#main-features-of-the-advanced-translation-editor

Please do not hesitate to open a ticket in case you run into issues with the other site and we will assist you.

About menus, please read this:
https://wpml.org/documentation/getting-started-guide/translating-menus/

Best regards
Andreas

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.