diff --git a/docs/ADR/0000-fork-oan-ui.md b/docs/ADR/0000-fork-oan-ui.md index dd97e36..29dded3 100644 --- a/docs/ADR/0000-fork-oan-ui.md +++ b/docs/ADR/0000-fork-oan-ui.md @@ -138,6 +138,7 @@ is doing right now: | **Copy an answer** | Client-side | | **Retry a failed answer** | Client-side | | **Light and dark theme** | Client-side | +| **Language picker** | Ten languages. The chosen one is kept between visits and sent with each question as both the question and answer language. Opens in `defaultLanguage` until one is picked | | **Location** | The browser is asked once for the user's coordinates, which are attached to each chat request. A denied prompt is a normal outcome: the request is sent without them | | **Runtime configuration** | Brand, theme and the flags below are read from `/config.json` at boot and can be changed on a running deployment without a rebuild | @@ -154,7 +155,6 @@ configuration change rather than a rewrite. | **Spoken answers** | Text-to-speech in the Experience API | | **Image questions** | The DSS image content item, and upload in the Experience API | | **Follow-up suggestions** | A suggestions endpoint | -| **Languages other than English** | A DSS that answers in them. The client is pinned to English; the other nine remain in the translation files | ### 6.3 The rule this expresses diff --git a/src/__tests__/features.test.ts b/src/__tests__/features.test.ts index a282f06..cd833df 100644 --- a/src/__tests__/features.test.ts +++ b/src/__tests__/features.test.ts @@ -28,7 +28,6 @@ describe("feature flags", () => { expect(FEATURES.voiceInput).toBe(true); expect(FEATURES.textToSpeech).toBe(false); expect(FEATURES.imageQuestions).toBe(false); - expect(FEATURES.languageSelector).toBe(false); }); it("treats anything other than true as off", async () => { diff --git a/src/config/app-config.json b/src/config/app-config.json index c5c2980..0777663 100644 --- a/src/config/app-config.json +++ b/src/config/app-config.json @@ -49,7 +49,7 @@ "imageQuestions": false, "suggestions": false, "geolocation": true, - "languageSelector": false + "languageSelector": true }, "brand": { "appName": "Agri Assistant",