Skip to content

feat(languages): send the learning language to analytics and show the own language in page settings (E-13, E-03) - #55

Merged
navidshad merged 2 commits into
devfrom
ml/extension-polish
Oct 15, 2026
Merged

navidshad merged 2 commits into
devfrom
ml/extension-polish

Conversation

@navidshad

Copy link
Copy Markdown
Collaborator

What

The last small slice of the multilingual round in the extension.

  • Analytics (E-13): learning_language is registered next to target_language. target_language now comes from the server profile once it has one, and the local value (a browser guess or an old pick) no longer overwrites it. This is the fix for the 643 of 802 users with no target_language. phrase_saved and practice-now_started carry the language. New events: language_switched, language_add_opened, save_language_changed, save_language_missing_choice, phrase_kept_pending, save_language_undo.
  • In-page Settings: the own-language select was labelled "Interface Language", which was wrong (it sets the language translations are written in). It now says "Your own language". With language profiles it shows the server's value, because a local pick no longer applies there.
  • CLAUDE.md: how the round-1 language code is laid out (thin API, language store, pure rules, dark launch, the RTL list), and the new tests.

Rows

E-13, and the last part of E-03 (the old own-language select).

How it was tested

  • tests/language-analytics.test.ts.
  • yarn test (348 passing), yarn typecheck, yarn build.

🤖 Generated with Claude Code

navidshad and others added 2 commits October 16, 2026 01:02
… own language in page settings (E-13, E-03)

- Analytics tests for learning_language and target_language from the server
  profile (the local guess no longer overwrites it).
- The in-page Settings own-language select is labelled "Your own
  language" (it was "Interface Language") and, with language profiles,
  shows the server's value instead of a select that no longer applies.
- CLAUDE.md: how the round-1 language code is laid out, and the new tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@navidshad
navidshad merged commit 9010dc9 into dev Oct 15, 2026
2 checks passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.17.0-dev.5 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant