language search icon

How can I change the text of the search icon (search) in my own language? I would like the word Zoeken instead of search

Comments

  • edited January 13
    HI 
    Thanks for contacting to us.
    To translate  theme string in own language refer below link.

    Thanks 
  • hey Akhilesh.

    There is already a nl_NL.po file in your installation But how do I activate that? 
    SImple in WP_config "define (‘WPLANG’, ‘  nl_NL  ‘)" gives error

    please, a tip?
  • remembering.
  • Hi 
    See the snapshot  and confirm .
    Are you want to translate placeholder text indicated inside the snapshot in your own language.

    Thanks 
  • Yes thats have to change in Zoeken

    search is zoeken in the dutch language

    But I have found a language package for different languages. Is it possible to activate that, more text in the dutch ;) ;)
  • Hi 
    For this  simply find the searchform.php file located in your theme folder .
    Open if and find the below line of code on line no 2 

    <input type="text" class="search_widget_input"  name="s" id="s" placeholder="<?php esc_attr_e( 'Search', 'appointment' ); ?>" />

    Change search text which I made red color with your own text. 

    Let me know for any confusion.
    Thanks 
  • why I cannt activate the language file nl_NL? /me curious

    I have also changed in search.php see https://prnt.sc/xaeira
    But the search page is still in english. I was searching where the template for search forn but not find. https://prnt.sc/xaeve9

    The function is working ;)

  • HI 
    Give me page url on which you  have added search button .

    Thanks 
  • schuldhulpmaatjeapeldoorn.nl on the nav bar
  • HI 
    Sorry for your inconvenience . Thanks for your patience dear. 
    Previously  I understood wrong area search button. Ignor my previous suggestion and follow the given below instruction.
    I got  it where you want to change  search text. 
    1 Find the header-preset2.php file located in your theme folder >> section-variation folder >> header-preset folder and find the file.

    2 Open the file and find the below line of code on line no  28.

     <input type="search" class="search-field" placeholder="Search…" value="" name="s">

    3 And replace it with below line of code. 

     <input type="search" class="search-field" placeholder="Zoeken …" value="" name="s">

    Let me know for any confusion.

    Thanks 


Sign In or Register to comment.