docs/agent/features/i18n-preparation.md
Plan for internationalizing Resume Matcher.
next-intl with locale files in messages/LanguageProviderapps/frontend/messages/
├── en.json
├── es.json
├── zh.json
└── ja.json
messages/{locale}.jsoni18n/config.ts:
export const locales = ['en', 'es', 'zh', 'ja', 'de'] as const;
SUPPORTED_LANGUAGES in backend config.py{
"dashboard": {
"title": "Dashboard",
"masterResume": "Master Resume"
},
"builder": {
"save": "Save",
"download": "Download PDF"
}
}
import { useTranslations } from 'next-intl';
export function MyComponent() {
const t = useTranslations('dashboard');
return <h1>{t('title')}</h1>;
}
next-intl, affects interface textLanguageProvider, affects LLM-generated content (cover letters, tailored resumes)Currently prompts are English-only. To support multiple languages:
app/i18n/locales/{lang}.jsonAccept-Language header from frontend