diff --git a/source/Ox/js/Locale.js b/source/Ox/js/Locale.js index df0de2ac..0771bc55 100644 --- a/source/Ox/js/Locale.js +++ b/source/Ox/js/Locale.js @@ -48,8 +48,8 @@ urls.push(Ox.makeArray(value)); }); Ox.getJSON(urls, function(data) { - urls.forEach(function(url) { - Ox.extend(translations, data[url]); + Ox.forEach(data, function(values, url) { + Ox.extend(translations, values); }); callback(true); });