diff --git a/i18n.js b/i18n.js index 0870cac9..af5dae7e 100644 --- a/i18n.js +++ b/i18n.js @@ -486,7 +486,7 @@ module.exports = (function() { locale === undefined && typeof this.locale === 'string' ) { - if (register && register.GLOBAL) { + if (register && register.global) { targetLocale = ''; } else { targetLocale = this.locale;