diff --git a/avUi/i18n-override-service.js b/avUi/i18n-override-service.js index 25858c98..e98080a2 100644 --- a/avUi/i18n-override-service.js +++ b/avUi/i18n-override-service.js @@ -140,7 +140,7 @@ angular { $window.i18n.addResources( /* lng = */ language, - /* ns = */ "translation", + /* ns = */ "locales", /* resources = */ expandObject(i18nOverride) ); diff --git a/dist/appCommon-v10.1.0.js b/dist/appCommon-v10.1.0.js index 7dde450d..9bf4f604 100644 --- a/dist/appCommon-v10.1.0.js +++ b/dist/appCommon-v10.1.0.js @@ -1145,8 +1145,7 @@ angular.module("avRegistration").config(function() {}), angular.module("avRegist $window.i18nOverride = overrides), languagesConf && ($i18next.options.lng = languagesConf.force_default_language ? languagesConf.default_language : $window.i18n.lng(), $i18next.options.lngWhitelist = languagesConf.available_languages, $i18next.options.fallbackLng = [ languagesConf.default_language, "en" ]), performOverrides && _.map($window.i18nOverride, function(i18nOverride, language) { - $window.i18n.addResources(language, "translation", expandObject(i18nOverride)), - _.each(_.keys(i18nOverride), function(i18nString) { + $window.i18n.addResources(language, "locales", expandObject(i18nOverride)), _.each(_.keys(i18nOverride), function(i18nString) { $i18next(i18nString, {}); }); }), $i18next.reInit();