Last Updated: February 25, 2016
· dakk

Simple multilanguage with jQuery a simple and fast multilanguage lib for jQuery.

  • Put the attribute tkey in each element you want to translate:
<p tkey="string-key-example"></p>
  • Modify the lang json files, having one translated string for each tkey in each language file:
"string-key-example" : "Example string in English"
  • Load jquery.js and lang.js at the end of the HTML file:
<script src=""></script>
<script src="lang.js"></script>