feat: implement internationalization (i18n) support

This commit is contained in:
radishzzz 2025-01-18 00:01:25 +00:00
parent 32ffec8480
commit d6c98880d3
17 changed files with 247 additions and 18 deletions

View file

@ -1,3 +1,5 @@
import type { langPath } from '@/utils/ui'
export interface ThemeConfig {
site: {
@ -24,7 +26,8 @@ export interface ThemeConfig {
}
global: {
language: string
locale: typeof langPath[number]
moreLocale: typeof langPath[number][]
font: string
rss: boolean
toc: boolean