Skip to content

feat(i18n): add internationalization support with multi-language locales - #311

Open
IceyWu wants to merge 1 commit into
satnaing:mainfrom
IceyWu:feat/i18n-languages
Open

feat(i18n): add internationalization support with multi-language locales#311
IceyWu wants to merge 1 commit into
satnaing:mainfrom
IceyWu:feat/i18n-languages

Conversation

@IceyWu

@IceyWu IceyWu commented Jun 12, 2026

Copy link
Copy Markdown

Description

Add full internationalization (i18n) support with 9 languages: Chinese, English, French, German, Japanese, Korean, Portuguese, Russian, Spanish.

  • Unified language data format ({ label, value }) across language-switch.tsx and account-form.tsx
  • Added complete translation files for 7 new languages (fr, de, es, pt, ru, ja, ko)
  • Configured i18n language detection: localStorage → navigator → fallback to English
  • Set account form language selector to default to current i18n language
  • Sorted language list alphabetically by label

Types of changes

  • Bug Fix (fixes an issue)
  • New Feature (adds functionality)
  • Refactor (improves code structure without changing behavior)
  • Breaking Change (incompatible change to existing behavior or public API)
  • Others (any other types not listed above)

Checklist

Further comments

Language detection priority: localStorage → navigator → fallback to English (fallbackLng: 'en'). Users' language preference is automatically persisted in localStorage after switching via the language dropdown.

Related Issue

Closes: #

- Add i18next and react-i18next dependencies for internationalization
- Add i18next-browser-languagedetector for automatic language detection
- Create i18n configuration module with support for 10 languages (en, de, es, fr, ja, ko, pt, ru, zh)
- Add language switcher component for user-facing language selection
- Convert static app data to use custom hooks (use-apps-data, use-users-data)
- Update all UI components across auth, dashboard, settings, tasks, and users features to support i18n
- Migrate data files to use hooks pattern for better data management and testability
- Add language detection and switching functionality to theme and profile components
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.

1 participant