Navigation überspringen

Dieses Thema ist gelöst. Hier finden Sie eine Beschreibung des Problems und der Lösung.

Problem:
I would like to translate the link in my logo so that users who are on the English page stay on the English page when they click on the logo. I tried it with the ATE but the link behind the logo does not appear in the translation screen. I then tried to create a new header for the language English, but unfortunately, that didn't work either.

Solution:
If the Logo is added using the Logo widget of Elementor, instead of selecting a custom link, select Site URL. If the Homepage is translated, the URL on the Translated page will be updated automatically.

Dies ist das technische Support-Forum für WPML – das mehrsprachige WordPress-Plugin.

Mitlesen können alle, doch nur WPML-Kunden können hier Fragen veröffentlichen. Das WPML-Team antwortet im Forum an 6 Tagen pro Woche, 22 Stunden am Tag.

Heute stehen keine Supporter zur Arbeit im German-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

Schlagwörter: 

Dieses Thema enthält 6 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Prosenjit Barman Vor 1 Jahr, 4 Monaten.

Assistiert von: Prosenjit Barman.

Verfasser Beiträge
Juli 10, 2023 unter 10:49 am #13977329

thomasL-127

Sagen Sie uns, was Sie versuchen zu erreichen

Ich möchte gerne den Link im meinem Logo übersetzten, damit die Nutzer den englischen Seite auch auf der englischen Seite bleiben, wenn Sie auf das Logo klicken. Ich habe es mit dem ATE probiert aber der Link, welcher hinter dem Logo liegt, erscheint in dem Übersetzungsbildschirm nicht. Ich habe dann auch versucht einen neuen Header für die Sprache Englisch anzulegen, das hat aber leider auch nicht funktioniert.

Folgen Sie einer Dokumentation?

Ich habe es mit folgenden Foreneinträgen versucht:

https://wpml.org/forums/topic/translate-elementor-header/#:~:text=To%20do%20this%2C%20go%20to,language%20ID%20as%20the%20translation.

https://wpml.org/de/forums/topic/je-nach-sprache-unterschiedliche-links-elementor-video-widget/

Gibt es ein ähnliches Beispiel, das wir sehen können?

Einfach auf der englischen Seite oben links auf das Logo drücken:
versteckter Link

Was ist der Link zu Ihrer Website?

versteckter Link (Englisch)
versteckter Link (Deutsch)

Juli 11, 2023 unter 9:14 am #14012115

Prosenjit Barman
Supporter

Sprachen: Englisch (English )

Zeitzone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support. I will be glad to assist you in this matter.

The German forum is experiencing a high volume of tickets at this time, so I opted to respond you in English. Please let me know if you're okay with it or want me to assign it to my German speaking colleague. I will be happy to do that.

Please be informed that the Advanced Translation Editor hides URLs, shortcodes, and HTML attributes by default to prevent automatically translating an element that might break something with your site. In order to translate the links, please follow the instructions mentioned in the guide below.

- https://wpml.org/announcements/2020/02/translating-links-with-advanced-translation-editor/

I hope it will help. But, I also would like to inform you that any internal link should be updated automatically in the translated page, if the page that you're linking is translated. You can check by updating the URL structure to relative(instead of adding the full URL for homepage, just add a forward slash "/".)

Please let me know if you need any further assistance. I will be happy to help.

Best Regards,
Prosenjit

Juli 11, 2023 unter 9:35 am #14012355

thomasL-127

Hello Prosenjit,

thank you for your answer. Sadly I already tried translating the link with the ATE. But for some reason the link behind the site logo isn't shown, even if I search for an https-link. I also have a button on the header which I translated using the way shown in the video you linked in your reply. I attached an image of the way the ATE looks woth https in the searchbar. Is there another way?

WPMLLinkTranslation.JPG
Juli 12, 2023 unter 6:57 am #14019209

Prosenjit Barman
Supporter

Sprachen: Englisch (English )

Zeitzone: Asia/Dhaka (GMT+06:00)

Hi There,
Thanks for trying out the suggestions.

As the logo link still not working properly, Please try the steps below and check if that helps to solve the issue.

- Open the Header template in the Elementor Editor.
- Edit the widget where you've placed the logo.
- Edit the URL and place a "forward slash(/)" only. [We are changing the URL structure to relative. Please check this article to know more about the URL Structures: versteckter Link;
- Save the changes.
- Now, open the template in the default WordPress editor.
- Update the Translation by clicking on the "Curved arrow" icon [Screenshot: versteckter Link;

I hope the issue will be fixed after that. But, if the issue persists, a closer inspection will require to identify the root cause. I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated.

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.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

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:
versteckter Link

Looking forward to your response.

Best regards,
Prosenjit

Juli 12, 2023 unter 8:57 am #14020937

thomasL-127

Hello Prosenjit,

I tried applying the changes, but it still doesn not work. I'd like to give you admin-access.
which e-mail should I use for the user?

Best regards

Juli 12, 2023 unter 12:53 pm #14024381

Prosenjit Barman
Supporter

Sprachen: Englisch (English )

Zeitzone: Asia/Dhaka (GMT+06:00)

Hi There,

Thanks for trying out the suggestion. I would be happy to check the issue from your end.

If you need an email address to share access information, it will be better if you could use any of your personal email.

I marked the next reply as private so that you can securely share the access.

Best Regards,
Prosenjit

Juli 14, 2023 unter 5:13 am #14037145

Prosenjit Barman
Supporter

Sprachen: Englisch (English )

Zeitzone: Asia/Dhaka (GMT+06:00)

Hello Thomas,
Thanks for sharing the access information.

I’m glad to inform you that the issue is resolved now. The logo link was set to custom which could be the reason for the issue. I switched it to the Site URL(Screenshot: versteckter Link) and updated the translation too which fixed the issue.

Please check and let me know if you need any further assistance. I will be happy to help you.

Best Regards,
Prosenjit

Juli 14, 2023 unter 6:14 am #14037307

thomasL-127

Hello Prosenjit,

thank you very much for solving the problem. I hope you have a nice day 🙂

Best regards
Thomas