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.
Hallo, warum kann ich dieses String nicht finden. ?
sprintf( __( ' ab %1$s', 'woocommerce' ), wc_price( $prices[0] ) )
habe in "Theme- und Plugin-Lokalisierung" unter woocommrce Aktualisiert, danach unter "String-Übersetzung" gesucht aber nichts gefunden. Habe ich was vergessen? Oder es muss anders gemacht werden?
To reduce the waiting time, I took this ticket and responded in English. Please let me know if you're okay with it or want to continue the conversation in German. I'll check and forward the ticket to one of our German-speaking supporters to assist you further in the German language.
I understand what you're looking for. The code seems to be correctly integrated with the gettext function, which should enable you to translate the 'ab' text via String Translation. However, there are a few points to consider:
- There's a space between "'" and "ab". Have you search for the string in the string translation including the space? If now, please search including the space(" ab %1$s") and placeholders.
- If the code is part of a Child Theme, you'll need to ensure that the theme is scanned for strings. You can do this by navigating to "WPML > Theme and Plugins Localization." This process will register the string for translation. After scanning, head over to String Translation to find and translate the string.
Please let me know if the information above helps to solve the issue. I will be happy to help if you need further assistance in this matter.
Best regards,
Prosenjit
Das Thema '[Geschlossen] sprintf string nicht auffindbar' ist für neue Antworten geschlossen.
Cookie-Zustimmung verwalten
Wir verwenden Cookies, um unsere Website und Dienste zu optimieren. Ihre Zustimmung erlaubt es uns, Daten wie das Durchsuchen der Website zu verarbeiten. Wenn Sie nicht zustimmen, können einige Funktionen beeinträchtigt werden.
Funktionell
Immer aktiv
Erforderlich für den Betrieb und die korrekte Kommunikation auf unserer Website.
Präferenzen
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistiken
Wir verwenden diese, um die Statistiken unserer Website zu analysieren. Die gesammelten Informationen sind völlig anonym. Der technische Speicher oder Zugriff, der ausschließlich zu anonymen statistischen Zwecken verwendet wird. Ohne eine Vorladung, die freiwillige Einhaltung durch Ihren Internetdienstanbieter oder zusätzliche Aufzeichnungen von Dritten können die zu diesem Zweck gespeicherten oder abgerufenen Informationen in der Regel nicht dazu verwendet werden, Sie zu identifizieren.
Marketing
Diese Cookies verfolgen Ihr Surfverhalten, um für Sie relevante Werbung anzuzeigen.