medic / cht-core

The CHT Core Framework makes it faster to build responsive, offline-first digital health apps that equip health workers to provide better care in their communities. It is a central resource of the Community Health Toolkit.
https://communityhealthtoolkit.org
GNU Affero General Public License v3.0
469 stars 217 forks source link

Allow specifying locale when accessing the public privacy policy #9148

Open binokaryg opened 5 months ago

binokaryg commented 5 months ago

What feature do you want to improve? It would be better to allow users to specify the locale when accessing the privacy policy page without logging in to the app.

Describe the improvement you'd like Described in this CHT forum post

There should be a way to force the public privacy policy to be shown in a specified locale regardless of the app defaults, something like: https://my-health-facility.org/medic/privacy-policy?lang=en

Describe alternatives you've considered

latin-panda commented 3 weeks ago

@n-orlowski this is part of the code-help/improvements we have planned. What do you recommend for UIUX when user wants to select the language? You can see an example in this test server

Image

Image

n-orlowski commented 2 weeks ago

@latin-panda let's keep this a similar experience to the login page by using a list of links with something like

Also offered in: [xyz]

Similar to this, with the selected language underlined Image

Below the privacy policy header