Want to create a multilingual javascript object, how to handle if lots of labels?
<p>I want to create a javascript file for multilingual functionality</p>

<p>i.e. display the error message in the correct language.</p>

<p>If I have allot of labels for a page, error messages, etc., what is a smart way of making this so the actual output on the page isn't huge?</p>

<p><strong>i guess the best way is to somehow output the labels that I need ONLY?</strong></p>

<pre><code>lang.getkey('username');
</code></pre>

<p>will output the correct label, depending on the language.</p>
