You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(i18n): localize homepage, navbar and footer (EN/DE)
Make the landing surface bilingual via the existing global language
switcher. Two new translation tables in lib/i18n.ts: homeTranslations
(Hero, TrustBar, WhyMSK incl. feature copy, Featured/Custom headings,
CTA) and layoutTranslations (navbar links + UI, footer).
The homepage components are server components: app/page.tsx resolves the
language from the cookie and passes `lang` down; the navbar switch's
router.refresh() re-renders them in the new language. Header and Footer
are client components and translate instantly via useLang(). Brand and
product names (Ticket Bot, Giveaway Bot, Dashboard, ecosystem links) stay
untranslated by design.
content/home-features.ts is reduced to HOME_FEATURE_ICONS; the feature
text now lives in homeTranslations and is zipped by index.
Mobile: the language dropdown shows only the flag until lg, so the action
bar does not crowd in the sm–md range.
Out of scope (deliberately): the large ticketbot/giveaway landing pages
and Tebex/custom package data.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments