easyi18n
Version:
Easy to use internationalisation (i18n): translate and localise your website or app. Uniquely, this does not require any refactoring of your code to work.
26 lines (19 loc) • 772 B
HTML
<html>
<head>
<link href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<!-- SJTest.js (please download your own copy) -->
<script src='https://rawgit.com/winterstein/SJTest/master/SJTest.min.js'></script>
<script>SJTest.on = true</script>
<script src='../src/i18n.js'></script>
</head>
<body>
<div><h3>Translate via jQuery</h3>
<div class='testjQuery'>Hello</div>
<div class='testjQuery'> </div>
<div class='testjQuery'><a href='#'>World</a></div>
</div>
<script src='i18nTest.js'></script>
</body>
</html>