-
AuthorPosts
-
December 12, 2016 at 7:46 pm #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!December 12, 2016 at 10:14 pm #723408Hi 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!
BasilisDecember 12, 2016 at 11:10 pm #723432Hi, 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?
ThanksDecember 14, 2016 at 8:28 pm #724512Hi,
when using Poedit use the normal language files of Enfold. They are inside lang folder.
Best regards,
AndyDecember 14, 2016 at 9:15 pm #724551Sorry, but I can´t find those two words there.
-False
-TrueCan´t I translate them going to the php where they were?
Thanks
December 14, 2016 at 11:15 pm #724632Hi!
They are missing you are right.
It is been reported so it can be updated on a next release.Thanks a lot
Regards,
BasilisDecember 15, 2016 at 1:14 pm #724838Hi, Can I translate them going to the php where they are?
ThanksDecember 15, 2016 at 1:30 pm #724842Hi!
Could you please tell us the steps to reproduce the issue? Then we could provide you an accurate workaround :)
Cheers!
YigitDecember 15, 2016 at 1:59 pm #724852Of 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!
December 20, 2016 at 8:15 am #726451Hi,
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,
IsmaelDecember 20, 2016 at 10:17 am #726493Hi, thank you very much!!!!
-
AuthorPosts
- The topic ‘Translate false and true’ is closed to new replies.
