import { Globe } from 'lucide-react' import { useTranslation } from 'react-i18next' import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from '@/components/ui/select' const languages = [ { code: 'zh-CN', label: '中文' }, { code: 'en-US', label: 'EN' }, ] export function LanguageSwitch() { const { i18n } = useTranslation() const currentLang = languages.find(l => l.code === i18n.language) || languages[0] return ( ) }