Skip to content

fix: add language switcher to login screen - #18

Merged
Logarex merged 1 commit into
Logarex:mainfrom
mkocustos:fix/language-switch-on-login
May 18, 2026
Merged

fix: add language switcher to login screen#18
Logarex merged 1 commit into
Logarex:mainfrom
mkocustos:fix/language-switch-on-login

Conversation

@mkocustos

Copy link
Copy Markdown
Contributor

Closes #16

Problem

The language selector was only available in Settings, which requires an active session. Users who wanted to change the language before logging in (or entering local mode) had no way to do so.

Solution

A SegmentedControl language picker is now shown at the bottom of the login screen, identical in behaviour to the one in Settings. It uses the same usePreferences hook and persists the selection via AsyncStorage — so the chosen language is remembered across sessions.

Note

I have not been able to test this on a real device yet — that will happen over the next few days. The implementation was generated with Claude Code.

Closes Logarex#16

The language selector was previously only accessible in Settings, which
requires a logged-in session. Users can now switch language directly on
the login screen, before authenticating or entering local mode.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mkocustos

Copy link
Copy Markdown
Contributor Author

Tested on Expo Go. Works as expected.

@Logarex
Logarex self-requested a review May 18, 2026 05:16
@Logarex

Logarex commented May 18, 2026

Copy link
Copy Markdown
Owner

Awesome work, thanks again!

I tested it locally and it works perfectly. Since this PR was likely branched before the German translation PR was merged, the "Deutsch" option is missing from the SegmentedControl on the login screen.

I'm going to merge this PR right now and I will push a quick follow-up commit to add the German option to the login screen picker so it matches the settings screen.

Thanks for fixing this issue so quickly!

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.

Login

2 participants