-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Description
I have been trying to get this to work for hours now and I just cannot seem to get it working.
Is translate.js outdated?
Code:
<html>
<head>
<title>Translation test</title>
</head>
<body>
<h1 class="trn">test</h1>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="jquery.translate.js"/>
<script type="text/javascript">
var dict = {
"test": {
en: "This is the translation"
}
}
$('body').translate({lang: "en", t: dict}); //use English
</script>
</body>
</html>Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels