fix: locales

This commit is contained in:
Andras Bacsai
2022-04-21 14:57:52 +02:00
parent 029b623f08
commit cf7fdf198d
9 changed files with 81 additions and 47 deletions

View File

@@ -22,5 +22,4 @@ export const config = {
]
};
export const { t, loading, locales, locale, loadTranslations } = new i18n(config);
loading.subscribe(($loading) => $loading && console.log('Loading translations...'));
export const { t, locales, locale, loadTranslations } = new i18n(config);