diff --git a/source/Ox/js/Locale.js b/source/Ox/js/Locale.js index 85d3e7f2..efdf01a6 100644 --- a/source/Ox/js/Locale.js +++ b/source/Ox/js/Locale.js @@ -26,7 +26,7 @@ callback(true); } else { Ox.forEach(Ox.LOCALES, function(locales, module) { - if (Ox.contains(locales, locale)) { + if (Ox[module] && Ox.contains(locales, locale)) { urls.push([ Ox.PATH + 'Ox' + (module ? '.' + module : '') + '/json/locale.' + locale + '.json'