title: Google translate - Disable translating of a part of my text
body: <p>I'm working on an admin page to create post for a blog. I have a french textarea and an english textarea. So, for those who cannot translate by there own, I created a button &quot;translate with google&quot;:</p>
  <pre class="lang-html prettyprint-override"><code>&lt;a id=&quot;tr_textefr&quot; href=&quot;http://translate.google.fr/#fr/en/&quot; target=&quot;_blank&quot;&gt;
    Traduire avec Google
  &lt;/a&gt;
  </code></pre>
  <p>And my french textarea has a javascript function called <code>onkeyup</code>:</p>
  <pre class="lang-js prettyprint-override"><code>function translate(what){
    var button = &quot;tr_&quot; + what;
    var textarea = document.getElementById(what);
    var google = &quot;http://translate.google.fr/#fr/en/&quot; + textarea.value;
  
    document.getElementById(button).setAttribute('href', google);
  }
  </code></pre>
  <p>For exemple, if I write &quot;Voulez-vous coucher avec moi ce soir ?&quot;, it will change the href attribute for &quot;http://translate.google.fr/#fr/en/Voulez-vous coucher avec moi ce soir ?&quot;. The link will redirect at the translated version of my text (by google translate).</p>
  <p>This code works fine by the way. The thing is that I could have sometimes bbcode inside my text: &quot;Voulez-vous [b]coucher[/b] avec moi ce soir ?&quot;.</p>
  <p>So, is there a way with google translate to disable translating of some words or sentences ? For exemple, I don't wanna translate the words between two @ : &quot;Voulez-vous @[b]@coucher@[/b]@ avec moi ce soir ?&quot;</p>