diff --git a/ts/util/i18n/i18n.ts b/ts/util/i18n/i18n.ts index 0e6231414..3b168d8ab 100644 --- a/ts/util/i18n/i18n.ts +++ b/ts/util/i18n/i18n.ts @@ -6,10 +6,6 @@ import { getMessage } from './functions/getMessage'; import { i18nLog, Locale, setInitialLocale } from './shared'; import { setTranslationDictionary } from './translationDictionaries'; -export function loadDictionary(locale: Locale) { - return import(`../../_locales/${locale}/messages.json`) as Promise; -} - /** * Sets up the i18n function with the provided locale and messages. *