Hello @danrh14,
Do you have set your admin language based on Site default under Users > Profile > Language? I’m thinking that maybe you have two Spanish locales working in your site, e.g. Spanish (Peru) for the admin user and Spanish (Spain) for your site (you can find this setting under Settings > General > Site Language). If so, it’s possible that you have only updated the Spanish (Peru) translation, and then you’re seeing two translations because our plugin choose the invoice language based on the active user language.
Anyway, if you only need to update the invoice label, maybe it’s better using this code snippet to do it:
/**
* Change the invoice title to 'Etiqueta'
*/
add_filter( 'wpo_wcpdf_invoice_title', 'wpo_wcpdf_invoice_title', 10, 2 );
function wpo_wcpdf_invoice_title ( $title, $document ) {
$title = 'Etiqueta';
return $title;
}
If you haven’t worked with code snippets (actions/filters) or functions.php before, read this guide: How to use filters
Let me know what approach you chose! ??