I’m trying to find the correct function or filter to edit the text of the buttons “View Cart” and “Checkout” in the Cart Widget of Woocommerce.
My website url : http://modularwave.com/ (just so you know i’m using Brutal, great theme from zigzagpress).
Thanks in advance for you help,
F.
You can use str_ireplace() to change the text of the button, the following function will allow you to change the text of a Woocommerce button:
To easily translate plugins use this plugin:
https://wordpress.org/plugins/loco-translate/
It lets you select a plugin.
Note, only plugins with .mo/.po files can be translated.
I hope this will help you!
Good luck.