Tagged: formular
Hallo,
is it possibile to translate the values “true/false” which show up in the generated e-mails after sending an Enfold formular?
Ist es möglich in den Mails, welche nach dem Absenden von Formularen (Enfold) generiert werden, die Bezeichnungen “true” und “false” zu ändern, z.B. in “ja” und “nein”?
Viele Dank.
No answer so far?
Hi!
Not sure if this will work but you can try it. Open up /enfold/framework/php/class-form-generator.php and around line 754 you should see this.
$message .= $element['label'].": ".$field_value." <br/>";
Change it to this.
if ( $field_value == "true" ) { $field_value = "true_translated"; }
if ( $field_value == "false" ) { $field_value = "false_translated"; }
$message .= $element['label'].": ".$field_value." <br/>";
Regards,
Elliott