Select your language to test
Hey, I am John Doe.
Buy coffee now
Register new task
Save your iteam and publish
Create article
Usage & Documentation
Translation here is easy. Just follow this steps to make your app translation ready:
Add data-translate attribute with a value to each element you want to translate, like this for example:
<p data-translate="name-john">Hey, I am John Doe.</p>
Create a JSON language file with the translations: index-es.json:
{ "hello": "Hola!" "img" : "Esto es una imagen!"}
Call the plugin!
$("[data-translate]").jqTranslate('index');