2024-10-19 06:28:21 +00:00
|
|
|
import {
|
|
|
|
i18n,
|
|
|
|
loadLocaleMessages,
|
|
|
|
loadLocalesMap,
|
|
|
|
loadLocalesMapFromDir,
|
|
|
|
setupI18n,
|
|
|
|
} from './i18n';
|
2024-07-06 16:17:44 +00:00
|
|
|
|
|
|
|
const $t = i18n.global.t;
|
|
|
|
|
2024-10-19 06:28:21 +00:00
|
|
|
export {
|
|
|
|
$t,
|
|
|
|
i18n,
|
|
|
|
loadLocaleMessages,
|
|
|
|
loadLocalesMap,
|
|
|
|
loadLocalesMapFromDir,
|
|
|
|
setupI18n,
|
|
|
|
};
|
2024-08-13 21:29:31 +00:00
|
|
|
export {
|
|
|
|
type ImportLocaleFn,
|
|
|
|
type LocaleSetupOptions,
|
|
|
|
type SupportedLanguagesType,
|
|
|
|
} from './typing';
|
2024-07-10 13:40:29 +00:00
|
|
|
export type { CompileError } from '@intlify/core-base';
|
2024-08-13 21:29:31 +00:00
|
|
|
|
2024-07-06 16:17:44 +00:00
|
|
|
export { useI18n } from 'vue-i18n';
|
2024-08-13 21:29:31 +00:00
|
|
|
|
2024-07-10 13:40:29 +00:00
|
|
|
export type { Locale } from 'vue-i18n';
|