Dear @smalameri,
We hope this message finds you well.
We have identified an issue with the Loco Translate plugin concerning the translation of certain text strings. To resolve this, we kindly request that you insert the following code snippet into the functions.php file located within your child theme’s directory:
function n2t_text_strings( $translated_text, $text, $domain ) {
switch ( $translated_text ) {
case 'Clear shopping cart':
$translated_text = 'Your Text 1';
break;
case 'Coupon code':
$translated_text = 'Your Text 2';
break;
}
return $translated_text;
}
add_filter( 'gettext', 'n2t_text_strings', 20, 3 );
We trust that this adjustment will address the translation discrepancies you have encountered. Should you require any further assistance, please do not hesitate to reach out to us.
Warm regards,
The 8Theme Team















