Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #723329

    Hi, could you tell me in which .php file can I translate “true” and “false” from the Contact form? I guess I´ll have to set it up each time I update the theme. Or you can suggest me how to do it in my child theme.

    I attach an image in private content.
    Thanks!

    #723408

    Hi cipriana!

    You can install a plugin called ” Loco Translate ” and use that one for any translations.
    Let us know if that covers you.

    Thanks a lot

    Cheers!
    Basilis

    #723432

    Hi, I prefer not to install plugins. Could it be possible to translate it via Poedit? If possible, which is the languages folder for that translation?
    Thanks

    #724512

    Hi,

    when using Poedit use the normal language files of Enfold. They are inside lang folder.

    Best regards,
    Andy

    #724551

    Sorry, but I can´t find those two words there.
    -False
    -True

    Can´t I translate them going to the php where they were?

    Thanks

    #724632

    Hi!

    They are missing you are right.
    It is been reported so it can be updated on a next release.

    Thanks a lot

    Regards,
    Basilis

    #724838

    Hi, Can I translate them going to the php where they are?
    Thanks

    #724842

    Hi!

    Could you please tell us the steps to reproduce the issue? Then we could provide you an accurate workaround :)

    Cheers!
    Yigit

    #724852

    Of course.
    When a customer fills the Presupuesto´s Form (in private content) my client receives an email with the customers info, like the one I send to you in my first question.
    I need to have those two words (“true” and “false”) translated for “verdadero” and “falso”.

    thanks!

    #726451

    Hi,

    Thank you for the info.

    Please add this in the functions.php file.

    add_filter('avf_form_message', 'avf_form_message_mod_checkbox', 10, 3);
    function avf_form_message_mod_checkbox($message, $new_post, $form_params) {
    	$message = str_replace('true', 'verdadero', $message);
    	$message = str_replace('false', 'falso', $message);
        return $message;
    }

    Best regards,
    Ismael

    #726493

    Hi, thank you very much!!!!

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Translate false and true’ is closed to new replies.