Hello,
I'm localizing an html5 page, but i got the following error in the browser log:
aureliaBundle.js:23 GET /home/dev/app/start/web/localizations/en/translation.json 404
code for translation:
$.cordys.translation.getBundle("lang").done(function(mBundle) {
//alert('translated');
mBundle.translate("th",function() {
var $this = $(this);
$this.text(mBundle.getMessage($this.text()));
});
console.log(mBundle.getMessage("identity","US"));
}).fail(function(error) { //alert("Error " + error );
console.log(error); });
Please advise.