Project

General

Profile

Actions

New feature / Change #8250

open

Force patient language in frontend

Added by Olivier Bitsch 8 days ago. Updated 3 days ago.

Status:
Testing
Priority:
Normal
Category:
-
Target version:
Start date:
04/11/2025
Due date:
% Done:

0%

Estimated time:

Description

Have a new settings, here my suggestion :

Add new backend variable

# Force patient language ensure the frontend (patient app)
# is enforced in the language that Doctor is choosing from
# the invite form. If false, the frontend will define language
# from the patient browser language.
FORCE_PATIENT_LANGUAGE=false

Create new Whatsapp templates.

New whatsapp template will be required, since language will need to be passed into URL parameter. Don't reuse existing template ID/name since we need to approve new template again after the update.

Change frontend behaviour

If frontend receives the parameter lang=<language code>, the frontend will switch so this language by default. If this parameter is empty, the frontend stay with browser language.

Actions

Also available in: Atom PDF