intl-load.html revision 38ede344a04d04daedd560a485bd38f50e4c0a71
<html>
<head>
<title>Intl Test</title>
</head>
<body>
<!--
<script src="/build/yui/yui-debug.js"></script>
-->
<script>
// YUI({filter:"raw", lang:"en-US"}).use("lang/datatype-date_en-US", "datatype-date", function(Y) {
YUI({
lang:"fr-FR, en-US",
// combine: true,
groups: {
myapp:{
base:'/js/',
// combine: false,
modules:{
'localized-module':{
lang:["en-US","fr-FR","pt","it","ru"]
}
}
}
}
// }).use("blah", "lang/datatype-date_en-US", 'localized-module', function(Y) {
}).use('localized-module', function(Y) {
console.log(Y.Intl.get("datatype-date-format"));
});
</script>
</body>
</html>