Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Someone help me? Intel xdk app #75

Open
daniele777 opened this issue Apr 13, 2016 · 1 comment
Open

Someone help me? Intel xdk app #75

daniele777 opened this issue Apr 13, 2016 · 1 comment

Comments

@daniele777
Copy link

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

index
<script src="cordova.js" id="xdkJScordova_"></script>

    <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
Copy link

You need to include jQuery Core also.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants