Il n'y a pas d'option pour faire cela actuellement dans le plugin.
Cependant, cela peut être fait via un plugin de traduction tel que Loco Translate. Voir ici pour plus de détails.
Vous pouvez également le faire en ajoutant un extrait de code personnalisé à votre site.
En voici un exemple :
add_filter('gettext', 'change_affiliate_to_refer_a_friend', 10, 3); function change_affiliate_to_refer_a_friend($translated_text, $text, $domain) { // Check if the text domain matches if ('woo-coupon-usage' === $domain) { // Change "Affiliate" to "Refer a Friend" if ('Affiliate' === $text) { $translated_text = 'Refer a Friend'; } } return $translated_text; }
Le code ci-dessus remplacera "Affilié" par "Parrainer un ami".
Comment ajouter un code personnalisé : https://www.wpbeginner.com/plugins/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site/