Skip to content

feat: turn on the language picker [#195] - #26

Merged
RohanReddy44 merged 1 commit into
mainfrom
feat/195-language-picker
Oct 6, 2026
Merged

RohanReddy44 merged 1 commit into
mainfrom
feat/195-language-picker

Conversation

@RohanReddy44

Copy link
Copy Markdown
Collaborator

What changed

  • The language picker is now on in the shipped configuration.
  • People can choose from ten languages. Their choice is kept between visits and sent with each question.
  • Someone who has not chosen yet sees defaultLanguage, which is currently Hindi.
  • ADR-0000 §6 now lists the picker as working, not switched off.
  • One test line is removed. It checked that the shipped default was "off". That was a check of the config file, not of behaviour. The test still checks that a deployment's settings take effect.

Why

To let people use the app in their own language.

Worth knowing

  • The chosen language is sent as both the question language and the answer language. If the DSS cannot answer in that language yet, the screens will be in the chosen language but answers may come back in English.

How it was verified

  • npm test: 67 passed.
  • npm run typecheck: clean.
  • Pre-commit hooks ran: lint, typecheck, knip and tests.
  • Not yet checked by hand in npm run dev.

Relates to OpenAgriNet/engineering-tracker#195

🤖 Generated with Claude Code

@RohanReddy44
RohanReddy44 force-pushed the feat/195-language-picker branch from 427c966 to bb30eae Compare October 6, 2026 06:16
@RohanReddy44
RohanReddy44 merged commit 0298aad into main Oct 6, 2026
4 checks passed
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.

1 participant