diff --git a/src/components/base/custome_element_l10n.ts b/src/components/base/custome_element_l10n.ts index ba666ab..f023a22 100644 --- a/src/components/base/custome_element_l10n.ts +++ b/src/components/base/custome_element_l10n.ts @@ -64,7 +64,10 @@ class L10nHelper { } }) - shouldRequest.length && this.l10n.ctx.requestLocales(...shouldRequest) + for (const lang of shouldRequest) { + const locale = this.l10n.ctx.getLocale(lang) + locale.build() + } }) }