Commit 9fb1c238 authored by JC Brand's avatar JC Brand

Bugfix. Restore code to get locale from browser.

parent dcd090ff
......@@ -309,10 +309,10 @@
moment.locale = moment.lang;
}
moment.locale(this.detectLocale(this.isMomentLocale));
this.i18n = settings.i18n ? settings.i18n : locales[this.detectLocale(this.isConverseLocale)];
// Translation machinery
// ---------------------
this.i18n = settings.i18n ? settings.i18n : locales.en;
var __ = utils.__.bind(this);
// Default configuration values
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment