mirror of
https://github.com/beilunyang/moemail.git
synced 2026-09-07 08:16:37 +08:00
feat: add internationalization support with next-intl
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
export const locales = ['en', 'zh-CN'] as const
|
||||
export type Locale = typeof locales[number]
|
||||
|
||||
export const defaultLocale: Locale = 'en'
|
||||
|
||||
export const i18n = {
|
||||
locales,
|
||||
defaultLocale,
|
||||
localePrefix: 'as-needed',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user