feat(cms): implement multi-language support across frontend and admin UI

This commit is contained in:
Your Name committed 2026-06-14 09:00:57 -04:00
1 parent 730e2a7b48
commit eac45dd4a7
62 files changed
+1377 -5116

No files matched your search

@@ -1,9 +1,17 @@
import { useTranslation } from 'react-i18next';
import { getLocalizedField } from '../utils/localization';
interface DynamicQuoteCalloutProps {
payload: any;
}
export default function DynamicQuoteCallout({ payload }: DynamicQuoteCalloutProps) {
const { quote, author, role } = payload || {};
const { i18n } = useTranslation();
const lang = i18n.language;
const p = payload || {};
const quote = getLocalizedField(p.quote, lang);
const author = getLocalizedField(p.author, lang);
const role = getLocalizedField(p.role, lang);
return (
<section className="py-24 px-6 bg-white">