Hi @esales2000,
None of the plugin strings are translated to Hebrew yet: https://translate.ww.wp.xz.cn/locale/he/default/wp-plugins/woocommerce-paypal-payments/
Only the smart buttons in the front-end will be automatically translated to Hebrew by PayPal. The plugin interface is only available in English and Spanish for now.
But we will improve the newly added strings though to make them translatable. The strings on the my-account page you were asking about could be changed in line 45 in this file:
woocommerce-paypal-payments/modules/ppcp-vaulting/src/class-vaultingmodule.php
And line 78 in this file:
woocommerce-paypal-payments\modules\ppcp-vaulting\src\class-paymenttokensrenderer.php
I hope that helps until we manage to improve this.
Thanks for the input!
Kind regards,
Niklas
Hi Niklas,
Thank you for your fast reply.
I saw those files, but every time there will be an update I need to change it again manually …
Is it possible to help with the translation?
Hi @esales2000,
Thanks, the contributions like you have done already are the best route to get translations implemented into the plugin. Including translations is not entirely in our hands and usually requires some input from official WordPress translators if I recall correctly.
With a plugin like Loco Translate, you can also create local translations, but that will of course only work for strings that are actually translatable.
For now, until we made those new strings explicitly translatable, they could only be changed through the plugin files, which would indeed be reset on every plugin update.
We are hoping to be able to add this functionality with the next regular update after our upcoming 1.6.1 minor update.
But I will try to report back when I have heard from our developers about this.
Kind regards,
Niklas