Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { derived } from 'svelte/store';
- import { dictionary, locale, _ } from 'svelte-i18n';
- // ...
- const isLocaleLoaded = derived(locale, $locale => typeof $locale === 'string');
- export { _, setupI18n, isLocaleLoaded };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement