Gotcha! Adding the functions/filters below to your functions.php
file should do the trick!
// Translate the word Email Address
function my_text_translations( $translated, $text, $domain ) {
switch ( $translated ) {
case 'Email Address' :
$translated = __( 'Votre email', 'fl-builder' );
break;
}
return $translated;
}
add_filter( 'gettext', 'my_text_translations', 20, 3 );
// Translate the word Name on the Subscribe form module
function my_text_with_context_translations( $translated, $text, $context, $domain ) {
if ( 'fl-builder' == $domain ) {
if ( 'Name' == $text && 'First and last name.' == $context ) {
$translated = 'Votre prénom';
}
}
return $translated;
}
add_filter( 'gettext_with_context', 'my_text_with_context_translations', 10, 4 );
Ben