Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #479692

    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.

    #480365

    No answer so far?

    #481482

    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

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.