924 B
924 B
Tasks: App Localization (Automatic System Language Detection)
- [x] Install
i18next-browser-languagedetector. - [x] Update
src/localization/i18n.tsto configure language detection and includezh-CNresources. - [x] Verify
src/actions/language.tslogic is compatible with auto-detection. - [x] Update
src/components/StatusBar.tsxto use translations. - [x] Update
src/components/AccountCard.tsxto use translations. - [x] Update
src/pages/index.tsx(home page) to use translations. - [x] Update
src/pages/settings.tsxto use translations and add a language switcher. - [x] Run the app to verify language detection and manual switching.