Skip to content

Mount Language Preferences settings page #2438

Description

@imuniqueshiv

Summary

LanguagePreferences.jsx is a complete settings surface with tests, but it is not routed or linked from Settings.

Problem

Translation and language preference management is unreachable from the product chrome.

Evidence

  • client/src/pages/LanguagePreferences.jsx (~874 LOC).
  • LanguagePreferencesApiClient.test.jsx exists.
  • Page is not registered in ProtectedRoutes.jsx.
  • Server translationRoutes.js exposes preference/translation endpoints.

Proposed fix

  1. Add a protected route and Settings/Navbar entry.
  2. Wire save/load of language prefs to translation APIs.
  3. Cover happy/error paths with tests.

Acceptance criteria

  • Users open Language Preferences from Settings
  • Preferences persist and reload
  • API failures show actionable errors
  • Route and API client tests pass

Likely files

LanguagePreferences.jsx, ProtectedRoutes.jsx, Settings.jsx, translationRoutes.js, translation controllers

Estimated effort

~220 LOC

{
"assignedAt": null,
"lastActivityAt": null,
"remindersSentAt": {},
"reminder12SentAt": null,
"reminder18SentAt": null,
"expiredAt": null,
"welcomeSentAt": null,
"welcomeSource": null,
"guidance": {},
"processedClaimCommentIds": [
5441321909,
5482266758
],
"processedUnclaimCommentIds": [
5463317803
],
"manualAssignment": false,
"authorPriorityExpiresAt": null
}

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    ECSoC26Eligible for Elite Coders Summer of Code 2026 automated scoring.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions