Files
BeyondCXAnalytics-Demo/frontend
Claude f719d181c0 Add English language support with i18n implementation
Implemented comprehensive internationalization (i18n) for both frontend and backend:

Frontend:
- Added react-i18next configuration with Spanish (default) and English
- Created translation files (locales/es.json, locales/en.json)
- Refactored core components to use i18n: LoginPage, DashboardHeader, DataUploader
- Created LanguageSelector component with toggle between ES/EN
- Updated API client to send Accept-Language header

Backend:
- Created i18n module with translation dictionary for error messages
- Updated security.py to return localized authentication errors
- Updated api/analysis.py to return localized validation errors
- Implemented language detection from Accept-Language header

Spanish remains the default language ensuring backward compatibility.
Users can switch between languages using the language selector in the dashboard header.

https://claude.ai/code/session_1N9VX
2026-02-06 17:46:01 +00:00
..
2026-02-04 11:08:21 +01:00
2026-02-04 11:08:21 +01:00
2026-02-04 11:08:21 +01:00
2026-02-04 11:08:21 +01:00
2026-02-04 11:08:21 +01:00
2026-02-04 11:08:21 +01:00
2026-02-04 11:08:21 +01:00
2026-02-04 11:08:21 +01:00
2026-02-04 11:08:21 +01:00
2026-02-04 11:08:21 +01:00
2026-02-04 11:08:21 +01:00
2026-02-04 11:08:21 +01:00
2026-02-04 11:08:21 +01:00
2026-02-04 11:08:21 +01:00

GHBanner

Run and deploy your AI Studio app

This contains everything you need to run your app locally.

View your app in AI Studio: https://ai.studio/apps/drive/1BsN7Hj59Uxudfk5jNrmH_E1S6uDd8caP

Run Locally

Prerequisites: Node.js

  1. Install dependencies: npm install
  2. Set the GEMINI_API_KEY in .env.local to your Gemini API key
  3. Run the app: npm run dev