Text debit card
-
hi @kaleu_87
On the Advanced Settings page of the PayPal plugin, enable
Site languagefor the Locale Setting option. When Site language is selected, the plugin will use the language setting from your WordPress site.Kind Regards
Hey, thanks! The text changes to german, but still the word “debit card” is used, this word is not common in German. We use “Lastschrift”. How can i change the text? I tried with Loco translate, but there is no entry for that.
And unfortunately the text “Click the PayPal button below to process your order.” is not translated to german. This text also does not work for translation with a translation plugin
How can i change the text? I tried with Loco translate, but there is no entry for that.
The PayPal buttons can’t be translated the same way the plugin text can because they’re part of the PayPal SDK. The site language is communicated to PayPal and they perform the translation. When I select German as the site language, the card button says
Debit- oder Kreditkarte. What language setting are you using on your WordPress site?And unfortunately the text “Click the PayPal button below to process your order.” is not translated to german. This text also does not work for translation with a translation plugin
This isn’t a PayPal plugin issue, that string is part of the POT file just like all of the other plugin texts. Translation issues are usually related to the directory where you chose to store your translations. Here is a link to the translation file, showing that text exists.
Kind Regards,
Ok, regarding to loco translate everything works. And here, our translated text is: https://ibb.co/qjLKPTG
Hi @kaleu_87
I would recommend you contact the Loco translate team for any issues related to translations not appearing correctly on your frontend.
The only interaction the PayPal plugin has with translations is by providing the POT file. Beyond that, the PayPal plugin does not control any of the translation logic as that’s all handled by WordPress’s internal code and the translation plugin that you’re using.
Kind Regards
Ok, thanks. Is that the right direction fot .po?
.... plugins/pymntpl-paypal-woocommerce/i18n/languages/pymntpl-paypal-woocommerce-de_DE.poOk, i asked loco translate and they said, the Payment Plugins for PayPal WooCommerce Plugin does not support the necessary. po files. Only .pot. would it be conceivable that i simply change this one text of the plugin php?
@kaleu_87 You should store the translations in the
/wp-content/languagesfolder.Ok, i asked loco translate and they said, the Payment Plugins for PayPal WooCommerce Plugin does not support the necessary. po files
That reply from Loco doesn’t make sense. The PO file contains the translations, it’s the POT file that provides the translatable strings which our plugin does correctly.
Hey, thanks a lot! Your hint “you should store the translations in the
/wp-content/languagesfolder.” worked perfectly. Merci!You’re welcome, glad we could help.
If you have a moment we always appreciate a good review.
https://ww.wp.xz.cn/support/plugin/pymntpl-paypal-woocommerce/reviews/
The topic ‘Text debit card’ is closed to new replies.