@zohodesk/react-cli 1.1.14-exp.2 → 1.1.14-exp.3
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.
|
@@ -256,7 +256,8 @@ function downloadScriptTagForI18nDynamicChunks(chunkName = '', language = '') {
|
|
|
256
256
|
}
|
|
257
257
|
};
|
|
258
258
|
downloadScriptTagForI18nDynamicChunks();
|
|
259
|
-
|
|
259
|
+
${mainTemplate.requireFn}.changeLanguage = function changeLanguage(language) {
|
|
260
|
+
window.updateLanguage(language);
|
|
260
261
|
window.userLangCode=language;
|
|
261
262
|
Object.keys(installedI18nChunks).map(chunks => {
|
|
262
263
|
if (chunks !== './runtime~main' && installedI18nChunks[chunks] == 0) {
|