title: Calling C functions inside javascript
body: <p>The <code>javascript</code> is printing out the <code>HTML</code> onto the page example below, is it possible to call a <code>C</code> function on it for example in <code>C</code> to convert something to another language there is a function  <code>LANG_Str("text")</code> which converts the text into the specified language. Would it be possible to use this function on the below text inside Javascript?. </p>
  
  <pre><code>"&lt;tr&gt;&lt;th&gt;Service&lt;/th&gt;&lt;th&gt;Target Allocation (%)&lt;/th&gt;&lt;th&gt;&lt;/th&gt;"
  </code></pre>
  
  <p><strong>EDIT:</strong></p>
  
  <p>I'm basically wanting to do a human language translation. The site already supports multi-language, the problem is on the custom screen like the one shown above which gets generated in Javascript, cannot use the function used to translate text the way its done normally in C.</p>