Dear support,
is it possible to translate the text in the compare table / translate the strings for “image”, “excerpt”, in the first column on the left?
Maybe they are standard woocommerce text strings…I usually know my way in css, html, php, but I could not find them anywhere in loco translate and in the theme files.
I generally use a function in my functions.php to translate strings
add_filter(‘gettext’, ‘translate_strings’);
add_filter(‘ngettext’, ‘translate_strings’);
function translate_strings($translated) {
$translated = str_ireplace(‘text’, ‘translation’, $translated);
}
But I cannot use it as the terms in the compare table are too generic, and that would surely cause problems in the website.
Thanks, kind regards!