JavaScript Object file should contain a variable with an object representing your translations:
var translations = {
"plural_key": {
"one": "One user online.",
"other": "%i users online."
},
"simple_key": "Hi, I am a key!"
};
JavaScript Object file should contain a variable with an object representing your translations:
var translations = {
"plural_key": {
"one": "One user online.",
"other": "%i users online."
},
"simple_key": "Hi, I am a key!"
};