nuxeo-development-framework 4.2.9 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/nuxeo-development-framework.umd.js +7 -5
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/core/services/translation/translation.service.js +8 -6
- package/fesm2015/nuxeo-development-framework.js +7 -5
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/package.json +1 -1
|
@@ -1629,11 +1629,13 @@
|
|
|
1629
1629
|
if (locale) {
|
|
1630
1630
|
_this.userLang = locale.split('-')[0];
|
|
1631
1631
|
}
|
|
1632
|
-
if (_this.
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1632
|
+
if (_this.nuxeoService.nuxeoClient) {
|
|
1633
|
+
if (_this.userLang) {
|
|
1634
|
+
_this.loadTranslation(_this.userLang, _this.defaultLang);
|
|
1635
|
+
}
|
|
1636
|
+
else {
|
|
1637
|
+
_this.loadTranslation(_this.defaultLang);
|
|
1638
|
+
}
|
|
1637
1639
|
}
|
|
1638
1640
|
});
|
|
1639
1641
|
}
|