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.