Skip to content

Add Chinese language support with i18n infrastructure#10

Open
gzhang33 wants to merge 1 commit into
zebangeth:mainfrom
gzhang33:i18n-clean
Open

Add Chinese language support with i18n infrastructure#10
gzhang33 wants to merge 1 commit into
zebangeth:mainfrom
gzhang33:i18n-clean

Conversation

@gzhang33
Copy link
Copy Markdown

Summary

  • Install i18next, react-i18next, and expo-localization for internationalization
  • Add translation system with en/zh JSON files, category/option translation maps
  • Create LanguageContext with AsyncStorage persistence and ProfileScreen with language toggle
  • Replace all hardcoded English strings across 31 files with t() translation calls
  • Category/option data stored as English keys internally, translated only at display layer

Test plan

  • Profile page language toggle switches all screens between English and Chinese
  • CategoryPicker displays translated category names in both languages
  • Season/Occasion toggles show translated values
  • Stored English category data displays correctly in both languages
  • Alert dialogs use translated text

🤖 Generated with Claude Code

Install i18next, react-i18next, and expo-localization. Create translation
system with en/zh JSON files, category and option translation maps, and a
LanguageContext with AsyncStorage persistence. Add ProfileScreen with
language toggle. Replace all hardcoded strings across 18 files with t() calls.
Category and option data stays as English keys internally, translated only
at display layer. Language-aware date formatting in RecentlyTriedSection.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 13, 2026 16:41
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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