[Gelöst] Problem with translated header and footer in WPML + Elementor
Dieses Thema ist gelöst. Hier finden Sie eine Beschreibung des Problems und der Lösung.
Problem: Sie versuchen, übersetzte Kopf- und Fußzeilentemplates auf Ihrer Website mit WPML und Elementor hinzuzufügen. Sie haben alle WPML-Add-ons installiert und aktiviert und Elementor Templates als 'Übersetzbar' in den WPML-Einstellungen festgelegt. Sie haben die Kopf- und Fußzeilentemplates dupliziert und versucht, sie über Anzeigebedingungen jeder Sprache zuzuweisen. Das englische Kopfzeilen-Template sieht jedoch nicht so aus wie das deutsche und erscheint leer/inkorrekt. Das Sprachumschalter-Symbol funktioniert nicht korrekt: Es erscheint nicht in der deutschen Version und in der englischen Version inkorrekt. Solution: Wir haben die Übersetzungen für Kopf- und Fußzeile veröffentlicht, da diese noch nicht veröffentlicht waren. Jetzt sollten sie korrekt funktionieren. Außerdem empfehlen wir, den Elementor-Sprachumschalter zum ursprünglichen Template hinzuzufügen und die Übersetzung zu aktualisieren, da es scheint, dass es sich nicht um das tatsächliche WordPress-Menü handelt, sondern Sie manuell Menüpunkte zum Template hinzugefügt haben.
Diese Lösung könnte irrelevant sein, entweder weil sie veraltet ist oder nicht auf Ihren Fall zutrifft. Wir empfehlen dringend, verwandte bekannte Probleme auf https://wpml.org/known-issues/ zu überprüfen, die Version der dauerhaften Lösung zu verifizieren und zu bestätigen, dass Sie die neuesten Versionen von Themes und Plugins installiert haben. Sollte das Problem weiterhin bestehen, zögern Sie nicht, ein neues Support-Ticket zu eröffnen. Besuchen Sie dazu unser Support-Forum unter https://wpml.org/de/forums/forum/deutsches-forum/.
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.
Hintergrund des Themas:
I am trying to add translated header and footer templates on my website using WPML and Elementor. I have installed and activated all WPML add-ons and set Elementor Templates as 'Translatable' in WPML settings. I duplicated the header and footer templates and tried to assign them to each language via Display Conditions.
Die Symptome:
The English header does not look the same as the German one, and it shows up blank/incorrect. The language switcher icon is not working correctly: it does not appear on the German version and appears incorrectly on the English version.
Fragen:
Can you please advise how to properly set up translated header and footer templates so that both look identical?
How can I ensure the language switcher is displayed correctly on both DE and EN versions?
Normally, it wouldn’t be a problem to continue in Croatian, but since this is an English-language forum (more precisely this one is in German, but we started the discussion in English), we need to keep the discussion in English.
With that in mind, could you let me know what options are available for me to check the website directly? For example, is a temporary WordPress login possible?
We can switch to German also if that's more comfortable for you.
Both Footer and Header translations were not published, so I published them and they work properly now. Also, as for the language switcher, you can add Elementor language switcher to the original template and update the translation because it looks like it is not the actual WordPress menu, but rather you added menu items manually to the template.
Hello, thank you very much for fixing the header and footer translations, I really appreciate your help so far.
Since I am not familiar with Elementor language switcher setup, would it be possible for you to add and configure it directly in the original template? That would help me a lot.