1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-30 15:58:06 +09:00
elk/config/i18n.config.ts

20 lines
360 B
TypeScript
Raw Normal View History

2024-02-25 01:46:14 +09: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,
pluralRules,
2024-02-25 01:46:14 +09:00
}
})