Skip to content

feat(i18n): add Turkish language support to dashboard - #80

Merged
crisng95 merged 1 commit into
crisng95:mainfrom
avometre:feat/turkish-language
Nov 4, 2026
Merged

crisng95 merged 1 commit into
crisng95:mainfrom
avometre:feat/turkish-language

Conversation

@avometre

Copy link
Copy Markdown

Summary

This PR adds full Turkish (tr) language support to the Flow Kit operations console dashboard, making the interface completely localized in Turkish alongside existing languages.

Changes

  • dashboard/src/i18n/translations.ts:
    • Registered tr in LANGS and LANG_LABELS (Türkçe).
    • Added a comprehensive Turkish dictionary covering all ~300 keys (Dashboard KPIs, throughput, attention, events, Projects, Project Detail, Gallery, Video Player, Guide, Logs tailing/filtering, Pipeline stages, Scene cards, Scene detail sheet, and Settings).
    • Added settings.language.title and settings.language.desc translation keys across supported languages.
  • dashboard/src/App.tsx:
    • Added a quick language selector with a Globe icon directly in the top Header (next to clock and WebSocket status).
    • Enhanced the Sidebar footer language switcher with an icon and label.
  • dashboard/src/pages/SettingsPage.tsx:
    • Added an INTERFACE LANGUAGE configuration card to the Settings view.
  • dashboard/src/i18n/LanguageContext.tsx:
    • Supported automatic browser locale detection (tr / tr-TR) and persistent language preference via localStorage (fk-lang).

Test Plan

  • tsc -b && vite build clean (TypeScript compilation and production bundle build with zero errors).
  • ESLint run clean on all modified files.
  • Full Python unit test suite passed: pytest tests/unit (486 passed, 1 skipped).
  • Skill parity verification clean: python scripts/validate_skills.py (100% compliant).
  • Verified language switching between English and Turkish across Dashboard, Projects, Pipeline, Gallery, and Settings views.
  • Verified language persistence on reload.

- Add 'tr' (Türkçe) to LANGS and LANG_LABELS in dashboard/src/i18n/translations.ts
- Provide full Turkish dictionary (~300 keys) covering Dashboard, Projects, Gallery, Logs, Guide, Settings, Pipeline, Scene cards, and status labels
- Add quick language switcher dropdown with Globe icon in Header
- Enhance Sidebar language switcher with icon and label
- Add dedicated Interface Language card to SettingsPage
- Support automatic locale detection and localStorage persistence for 'tr'
@crisng95
crisng95 merged commit bef59ca into crisng95:main Nov 4, 2026
2 checks passed
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