coderifous / jquery-localize

a jQuery plugin that makes it easy to internationalize your web site.
465 stars 142 forks source link

Someone help me? Intel xdk app #75

Open daniele777 opened 8 years ago

daniele777 commented 8 years ago

I use jquery-localize but i can't transalte app.. where i mistake?

index

    <script src="js/app.js"></script>          
    <script src="js/jquery.localize.js"></script>
    <script src="js/init-app.js"></script>     
    <script src="xdk/init-dev.js"></script>     
</head>

<body>

    <script>
$("[data-localize]").localize("example");
    </script>
    <h1 data-localize="greeting"> Mattino </h1>
</body>
</html>

example-it.json { "greeting": "Buon giorno" }

help me..to understand...

wernersbacher commented 8 years ago

You need to include jQuery Core also.