Navigation überspringen

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

Problem:
Der Kunde hatte zwei Probleme: Erstens konnte er den Button-Text "Iniatitivbewerbung" im Footer nicht übersetzen und zweitens funktionierte die Übersetzung des Textes im Slider Revolution auf der Startseite nicht.

Solution:
1) Um den Button-Text "Iniatitivbewerbung" zu übersetzen:
- Navigiere zu

WPML > Theme and Plugins Localization

.
- Wähle das `Bridge` Theme und führe einen Scan für Strings durch. Mache dasselbe für das `Bridge Core` Plugin.
- Gehe danach zu

WPML > String Translation

und suche nach dem Text, den du übersetzen möchtest.
- Wenn er in den Ergebnissen erscheint, kannst du die Übersetzung hinzufügen, indem du auf das "+"-Symbol unter der englischen Flagge klickst.

2) Um den Text im Slider Revolution zu übersetzen:
- Aktualisiere das Slider Revolution Plugin auf die neueste Version.
- Folge den Anweisungen in der Dokumentation: Erstellen von mehrsprachigen Slidern mit Revolution Slider und WPML.

3) Für das Problem mit dem Link im Button-Widget, das nicht in verschiedenen Sprachen korrekt angezeigt wurde:
- Der Kunde sollte das Theme-Support-Team kontaktieren und nachfragen, warum der Link im Button-Widget nicht in anderen Sprachen funktioniert.
- Als vorübergehende Lösung wurden zwei Button-Widgets dupliziert, eines für jede Sprache, und eine spezifische Klasse wurde jedem Widget hinzugefügt.
- Mit diesem CSS-Code wurde der deutsche Button auf der englischen Seite versteckt und umgekehrt.

Wenn diese Lösung für dich irrelevant erscheint, weil sie veraltet ist oder nicht auf dein Problem zutrifft, empfehlen wir dir, ein neues Support-Ticket zu eröffnen. Wir empfehlen dir auch, die Seite mit bekannten Problemen (bekannte Probleme) zu überprüfen, die Version der dauerhaften Lösung zu verifizieren und zu bestätigen, dass du die neuesten Versionen von Themes und Plugins installiert hast.

Solltest du weitere Unterstützung benötigen, zögere nicht, uns im WPML-Supportforum zu kontaktieren.

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.

Schlagwörter: 

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

Zuletzt aktualisiert von Prosenjit Barman Vor 8 Monaten, 3 Wochen.

Assistiert von: Prosenjit Barman.

Verfasser Beiträge
April 21, 2024 unter 8:00 pm #15547707

mattiasG-2

Hallo, ich habe eig. alles auf englisch übersetzt, nur zwei Dinge funktionieren nicht:

- im Footer finde ich keine string translation für "Iniatitivbewerbung"
- auf der Startseite habe ich mich an die Anleitung gehalten und wollte den Text des Slider Revolutions anpassen. https://wpml.org/documentation/plugins-compatibility/creating-multilingual-sliders-with-revolution-slider-and-wpml/ Doch der Text "Wir bringen Natur und Technik in Einklang" funktioniert nicht auf englisch zu übersetzen.

Website: versteckter Link

April 22, 2024 unter 9:32 am #15549071

Prosenjit Barman
Supporter

Sprachen: Englisch (English )

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

Hello There,
Thanks for contacting WPML Support.

To reduce the waiting time, I took this ticket and responded in English. Please let me know if you're okay with it or if you want to continue the conversation in German. I will check and forward this ticket to one of our German-speaking supporters to assist you in the German language.

I understand the issue you're having and will try my best to assist you in this matter.

1) Translating the button text "Iniatitivbewerbung": The Button seems to be added using the widget from Bridge plugin. Could you please try the following and check if thaat helps in solving the issue?

1. Navigate to `WPML > Theme and Plugins Localization`.
2. Select the `Bridge` Theme and perform a scan for strings. Once the scan is complete, do the same for the `Bridge Core` plugin.
3. After completing both scans, go to `WPML > String Translation` and search for the text you wish to translate.
4. If it appears in the results, you can add the translation by clicking on the "+" icon located below the English language flag.

I hope it will help in translating the text properly into English.

2) Issue translating text with the Slider revolution plugin: While checking the WPML Debug info, I found that an outdated version of the Slider revolution plugin is currently active on your site. Could you please update the Slider Revolution plugin to its latest version and then follow the instructions mentioned in the doc(https://wpml.org/documentation/plugins-compatibility/creating-multilingual-sliders-with-revolution-slider-and-wpml/)?

Let me know if that helps or if you need further assistance in this matter. I will be happy to help.

Best regards,
Prosenjit

April 22, 2024 unter 6:18 pm #15552652

mattiasG-2

Hi Prosenjit,

thanks for your message. English is ok.

I did the scan for the theme and the plugin. But i still do not find the button text. I also did update the slider revolution plugin, but it don´t help.

April 23, 2024 unter 6:00 am #15553585

Prosenjit Barman
Supporter

Sprachen: Englisch (English )

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

Hi There,
Thank you for the update.

As the issue persists, a closer inspection will be required to understand the root cause of the issue.

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 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 backup 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

April 24, 2024 unter 4:29 am #15558622

Prosenjit Barman
Supporter

Sprachen: Englisch (English )

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

Hello There,
Thank you for sharing the access information.

I have checked and successfully translated the button text and slider revolution text. Here's how the issue is resolved.

1) Translating the button text "Iniatitivbewerbung": The text was registered as an admin string. I have added it to the string translation(Guideline: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#translate-admin-and-settings-strings). It has now been translated into English and appears correctly. Please see the translated text in this screenshot: versteckter Link

2) Slider revolution: On the English homepage, the German version of Slider was selected, which caused the German slider to appear on the English homepage. I opened the English homepage in the Editor, switched to the English version of the slider, and saved the changes. As a result, the English slider is now displaying correctly. It's important to note that because the slider is integrated using the WP Bakery module of Slider Revolution, the appropriate language version of the slider must be selected manually.

Let me know if that helps or if you need further assistance in this matter. I will be happy to help.

Best regards,
Prosenjit

April 24, 2024 unter 7:29 pm #15562617

mattiasG-2

Hi,

thank you for great support!
Last question: the button text "Iniatitivbewerbung" links to the german site instead of the english one (/en/application/). As you described i added the admin string to the string translation. Then i translated it, but it still shows in english the german link.

April 25, 2024 unter 7:48 am #15563740

Prosenjit Barman
Supporter

Sprachen: Englisch (English )

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

Hello There,
Thank you for the update.

I've checked and discovered that the translation support for the link in the Button widget hasn't been implemented correctly. This is why the link does not display properly in different languages.

The issue likely stems from the fact that the link field is handled similarly to other textual elements, such as titles, where text is simply entered. However, the widget does not seem to be using the necessary filters to register the link as a translatable string. Consequently, WPML is not recognizing the link as content that requires translation according to the user’s language settings.

For now, I've temporarily resolved the issue using the steps below. However, could you please still contact the theme support and ask them why the link does not function in other languages when entered in the Button widget?

- I duplicated the Button widget and, in the duplicate, entered the English name and link.
- I added a specific class to each widget.
- I implemented this CSS code (versteckter Link) to hide the German button when the site is viewed in English and vice versa.

Let me know if that helps or if you need further assistance. I will be happy to help.

Best regards,
Prosenjit

April 29, 2024 unter 8:06 pm #15578670

mattiasG-2

Hi Prosenjit,

thanks for your support, i will contact theme support. I still have 1-2 translation problems, but will test them again tomorrow before I contact you again, please

April 30, 2024 unter 8:00 am #15579803

Prosenjit Barman
Supporter

Sprachen: Englisch (English )

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

Hi There,
Thank you for the update.

Don’t hesitate to update me if you get any news from them or need help with the button problem. I’m here to assist you.

I would like to inform you that to maintain clarity and organization, we are allowed to discuss one issue per topic. If the translation issue you mentioned in your last message is the same as the one you reported in this ticket, please feel free to share it in this ticket and I'll be happy to help.

However, if the issues are different in context, I request you open a new ticket. One of our support team members will take it from there and provide you with the necessary assistance.

I hope you can understand.

Best regards,
Prosenjit

Mai 8, 2024 unter 8:42 pm #15607833

mattiasG-2

Thanks, everything worked!