TIP-Global-Health / eheza-app

Apache License 2.0
3 stars 1 forks source link

[META] Multisite support - adding Burundi as a localization [22h] #798

Open anvmn opened 1 year ago

anvmn commented 1 year ago

For each new country that is being added, we'll have separate site on Pantheon. The code will remain unified (https://github.com/TIP-Global-Health/eheza-app/ repo), but we should be able to support bahavoural differences. This can be done using additional configuration at front-end Config file.

anvmn commented 1 year ago

Issues:

  1. Add configuration for site determination. This will alsol require new repo, similar to ihangane-infra with properly set Config.Deploy.elm.

  2. Language:

    • Extend langauges set with new language.
    • Update language switcher - language label + country flag.
    • Add new language to all translation sets at Translate.elm.
    • Add actual translations for all words and phrases.
  3. Demographics hierarchy:

    • Generate dictionaries for the hierarchy
    • Based on site param, use coresponding set of dictionaries.

4. Update default content migration to have generic names and labels.

  1. The Ubudehe field appears at multiple locationions. Breakdown bellow.

6. Update patients import logics per site specific fields on person content type.

  1. Wording at Translate.elm (specific mentions of Rwanda):

Selection_2097 Selection_2098 Selection_2099

  1. CountryCodeRwanda related logic at WhatsApp feature. For example:

Selection_2092

anvmn commented 1 year ago

Ubudehe breakdown:

anvmn commented 11 months ago

@adamhstewart

Opened a follow up issue which lists remaining tasks we need to handle.

balagan73 commented 9 months ago

QA Review

Found issues and Questions

  1. Not sure about the Ubudehe system. Do we have Ubudehe in Burundi too?

Checked and approved:

  1. Language switcher and country flag is updated image

  2. Text is localized image

  3. No Ubudehe, but Georgraphic informations display on registratoin form image

  4. No Ubudehe displays on patient record: image

  5. No Rwanda specific text displays image