translate searchform and other lines
-
First of all, thanks for all the great support.
I’m trying to translate things like the search function on my website (www.poetsgemak.nl). Currently it says: ‘To search type here and hit enter’. I want to translate it in to something dutch. I’ve tried two things:
1. Download the .po and .mo file and open it with Poedit. Translate the text and upload the new files to my website. This didn’t translate the things i wanted.
2. Opened the searchform.php and changes the text ‘To search type here and hit enter’. When i changed a word it works but when i change the whole sentence i get an error:
Parse error: syntax error, unexpected ‘?’ in /home/deb82970/domains/poetsgemak.nl/public_html/wp-content/themes/hueman/searchform.phpon line 3
Don’t really now what i’m doing wrong. Maybe it is because i use a child theme and uploaded the files tot het parent theme. But i’m a little bit stuck, so i’m hoping for your help!
I’m curious what you’ve used to translate the text in the search field or sentences like ‘previous story’/’you may also like this’.
Thank you in advance
- The topic ‘translate searchform and other lines’ is closed to new replies.