Skip to content

feat: add initial application setup for internationalization #116

Open
arihantcodes wants to merge 1 commit into
mainfrom
fix/404-docs
Open

feat: add initial application setup for internationalization #116
arihantcodes wants to merge 1 commit into
mainfrom
fix/404-docs

Conversation

@arihantcodes
Copy link
Copy Markdown
Owner

@arihantcodes arihantcodes commented Mar 23, 2026

Summary by cubic

Add client‑side internationalization with a global I18nProvider, translations for 8 languages, and localized UI across the nav, hero, CTA, and footer. Includes a language selector with locale persistence for a better global experience.

  • New Features

    • Added I18nProvider and useI18n (t, locale, setLocale) with localStorage persistence; integrated via components/providers.tsx.
    • Added translations for en, es, pt, zh, fr, de, hi, tr in messages/*.json.
    • Localized Navbar, Footer, Home hero, CTA, and home section title; added a language selector in the Footer.
    • Updated CTA link to https://ui.spectrumhq.in/pro.
  • Refactors

    • Replaced hardcoded strings with translation keys and added small min-height guards to reduce layout shift.
    • Removed the stats section from the Pro page.

Written for commit 69f3500. Summary will update on new commits.

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spectrum-ui Ready Ready Preview Mar 23, 2026 0:24am

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 18 files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants