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!
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
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
Hi,
when using Poedit use the normal language files of Enfold. They are inside lang folder.
Best regards,
Andy
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
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
Hi, Can I translate them going to the php where they are?
Thanks
Hi!
Could you please tell us the steps to reproduce the issue? Then we could provide you an accurate workaround :)
Cheers!
Yigit
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!
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
Hi, thank you very much!!!!