Hi there,
You can follow this – https://wpml.org/documentation/automatic-translation/using-automatic-translation-with-custom-languages/
Or,
You can use the below code in your child theme functions.php file
add_filter( 'gettext', function ( $strings ) {
/**
* Holding translations/changes.
* 'to translate' => 'the translation or rewording'
*/
$text = array(
'Clear' => 'Delete'
);
$strings = str_ireplace( array_keys( $text ), $text, $strings );
return $strings;
}, 20 );
Thank you.
translate clear option
Bruno AUBRUN
Hello,
I’m using your product and I Would like to translate the “clear” option in different langage. (Franch, Deutch, Spanish and Italian) How it’s possible?
(We’re using WPML for langage)
Best Regards
Wesley LIBLIN
www.mondevanille.com