Localization contact form
-
Hi,
I’m running into problems translating the theme. I’ve successfully translated most strings using my de_DE.po file.
However, the placeholders in the contact form in front-page.php appear to be hardcoded (“Your Name”, “Your Email:” etc.)
<input type="text" name="myname" placeholder="Your Name" class="form-control input-box" value="<?php if(isset($_POST['myname'])) echo esc_attr($_POST['myname']);?>">
How can I translate these strings, too? Do I have to copy the entire front-page.php file into my child theme and then insert appropriate gettext calls
__()
?Your help is highly appreciated.
Cheers,
Fabian
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Localization contact form’ is closed to new replies.