title: How to make Search Form Value multilingual without WPML String Translation?
body: <p>In my theme I have a Search Form which looks like this:</p>
  
  <pre><code>&lt;form method="get" id="search" action="&lt;?php echo home_url(); ?&gt;"&gt;
      &lt;div&gt;
      &lt;?php $req=''; ?&gt;
      &lt;input type="text" value="Search" name="s" id="s"  onfocus="if(this.value==''){this.value='&lt;?php  _e( 'Search', 'thememagic' );  ?&gt;'};" onblur="if(this.value==''){this.value='Search'};" tabindex="2" &lt;?php if ($req) echo "aria-required='true'"; ?&gt; /&gt;
      &lt;input type="submit" id="searchsubmit" value="" /&gt;
  
      &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>I think the <code>_e( 'Search', 'thememagic' )</code> means that if you would use WPML you could easily translate the "Search" string. But what could I do without WPML?</p>
  
  <p>Would it be possible to pass a variable to the search form template without touching the wordpress core functions? Because I'm calling <code>get_search_form();</code> in my theme's functions.php within a shortcode function.</p>
  
  <p>I have a simple site with not much content and for most of the purposes Polylang is good enough to make the site multilingual but I'm stuck at translating the "Search" string. </p>