diff --git a/source/Ox/js/Locale.js b/source/Ox/js/Locale.js index 4389178f..9895fd3f 100644 --- a/source/Ox/js/Locale.js +++ b/source/Ox/js/Locale.js @@ -4,6 +4,14 @@ var log, translations = {}; + /*@ + Ox.getLocale Returns locale + () -> Locale (like 'de' or 'fr') + @*/ + Ox.getLocale = function() { + return Ox.LOCALE; + }; + /*@ Ox.setLocale Sets locale (locale[, url], callback)