title: How to use translate in jquery Laravel
body: <p>I have two languages on my website and I have this little script</p>
  <pre><code> $(document).ready(function(){
  $(&quot;#RFQForm&quot;).submit(function(){
    $(&quot;#RFQSubmit&quot;).prop('disabled', true).html('Uploading, please wait');
  });  });
  </code></pre>
  <p>What is the propper way to translate this kind of strings in laravel? I tried to write two of these scripts with different strings and include it in <code>switch</code> statement but that seems like a dumb idea and it does not work.</p>