diff --git a/core/core-frontend/src/plugins/vue-i18n/index.ts b/core/core-frontend/src/plugins/vue-i18n/index.ts index bbc7d8475f..edd4d6370a 100644 --- a/core/core-frontend/src/plugins/vue-i18n/index.ts +++ b/core/core-frontend/src/plugins/vue-i18n/index.ts @@ -50,7 +50,10 @@ const createI18nOptions = async (): Promise => { const loadRemoteI18n = async (option: any) => { const name = option.lang.replace('-', '_') - const path = PATH_URL.startsWith('./') && PATH_URL.length > 2 ? PATH_URL.substring(1) : PATH_URL + const path = + PATH_URL.startsWith('./') && PATH_URL.length > 2 + ? window.location.pathname + PATH_URL.substring(2) + : PATH_URL const url = `${path}/i18n/custom_${name}_front_${option.name}.js` return await import(url) } diff --git a/de-xpack b/de-xpack index af394f2d3a..feab899f0f 160000 --- a/de-xpack +++ b/de-xpack @@ -1 +1 @@ -Subproject commit af394f2d3a12de818c7a97c0f9c7989cd14fcabc +Subproject commit feab899f0f951256b53eeff612d18427be358bed