Skip to content

Fix: Use navigator.language as fallback and dropdown for language selection#47

Merged
hunter-read merged 1 commit intomainfrom
46-language-use-navigatorlanguage-as-default-and-replace-segmented-control-with-dropdown
Apr 16, 2026
Merged

Fix: Use navigator.language as fallback and dropdown for language selection#47
hunter-read merged 1 commit intomainfrom
46-language-use-navigatorlanguage-as-default-and-replace-segmented-control-with-dropdown

Conversation

@hunter-read
Copy link
Copy Markdown
Owner

Summary

Add detectLanguage() to i18n.js that checks localStorage first, then navigator.languages/navigator.language, then falls back to en-US
Replace SegmentedControl with a dropdown in LanguageSection for better scalability as more locales are added Type of change [x] Bug fix [ ] New feature [ ] Refactor / cleanup [ ] Docs / configuration only Testing [x] Backend tests pass (pytest -q) [x] Frontend tests pass (npm test) [x] Tested manually in the browser

@hunter-read hunter-read added this to the v1.2.1 milestone Apr 16, 2026
@hunter-read hunter-read merged commit 3563747 into main Apr 16, 2026
7 checks passed
@hunter-read hunter-read deleted the 46-language-use-navigatorlanguage-as-default-and-replace-segmented-control-with-dropdown branch April 16, 2026 16:34
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.

Language: use navigator.language as default and replace segmented control with dropdown

1 participant