feat: add i18n infrastructure and language selector

Co-authored-by: Wikid82 <176516789+Wikid82@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-12-18 18:47:41 +00:00
parent 1981dd371b
commit e912bc4c80
14 changed files with 892 additions and 3 deletions

View File

@@ -0,0 +1,10 @@
import { createContext } from 'react'
export type Language = 'en' | 'es' | 'fr' | 'de' | 'zh'
export interface LanguageContextType {
language: Language
setLanguage: (lang: Language) => void
}
export const LanguageContext = createContext<LanguageContextType | undefined>(undefined)