This topic has 10 replies, 2 voices, and was last updated 9 years, 7 months ago ago by Eva Kemp
Hi
I cant translate “seach…” inside seach form on the blog? it must be hardcoded.
Where do I translate “seach…” inside seach form on the blog
See: https://www.dropbox.com/s/4s22m8rookraos9/translate-seach-inside-form.jpg?dl=0
or the page here:
http://www.smooff.net/10-grunde-til-at-stoppe-med-at-ryge/
Best regards
Tonny
Hello,
You can translate it in the file wp-content/themes/woopress/searchform.php (line 12).
Regards,
Eva Kemp.
hmm it does not work here at all 🙁
This is the page now: http://www.smooff.net/artikler/
I tried to translate “Search…” into “Søg…” which should be ‘S& oslash;g…’ but the page have stop loading the content?
And this is the code:
<?php
/**
* The template for displaying search forms
*
*/
?>
<form action=”<?php echo home_url( ‘/’ ); ?>” id=”searchform” class=”hide-input” method=”get”>
<div class=”form-horizontal modal-form”>
<div class=”form-group has-border”>
<div class=”col-xs-10″>
<input type=”text” name=”s” id=”s” class=”form-control” placeholder=”<?php esc_attr_e( ‘S& oslash;g…’, ETHEME_DOMAIN ); ?>” />
<input type=”hidden” name=”post_type” value=”post” />
</div>
</div>
<div class=”form-group form-button”>
<button type=”submit” class=”btn medium-btn btn-black”><?php esc_attr_e( ‘Search’, ETHEME_DOMAIN ); ?></button>
</div>
</div>
</form>
Hello,
Please provide us with FTP credentials.
Regards,
Eva Kemp.
here you go
Hello,
I’ve edited the code.
Please check now.
Regards,
Eva Kemp.
Yes thanks a lot – it works!
But now it shows: “Search results for” and it is translated in the language file, but is is not displayed in the header/breadcrumb?? what did I miss
Hello,
Please edit the file wp-content/themes/woopress/framework/theme-functions.php (line 3303).
Regards,
Eva Kemp.
Thanks – it works
Hello,
You’re welcome.
Regards,
Eva Kemp.
The issue related to '‘how to translate seach… inside seach form on the blog’' has been successfully resolved, and the topic is now closed for further responses