2024-02-24 17:46:14 +01:00
|
|
|
import {
|
|
|
|
currentLocales,
|
|
|
|
datetimeFormats,
|
|
|
|
numberFormats,
|
|
|
|
pluralRules,
|
|
|
|
} from './i18n'
|
|
|
|
|
|
|
|
export default defineI18nConfig(() => {
|
|
|
|
return {
|
|
|
|
legacy: false,
|
|
|
|
availableLocales: currentLocales.map(l => l.code),
|
|
|
|
fallbackLocale: 'en-US',
|
|
|
|
fallbackWarn: true,
|
|
|
|
missingWarn: true,
|
|
|
|
datetimeFormats,
|
|
|
|
numberFormats,
|
2024-03-05 15:48:58 +01:00
|
|
|
pluralRules,
|
2024-02-24 17:46:14 +01:00
|
|
|
}
|
|
|
|
})
|