medic / cht-release-testing

Used to track release testing on medic projects
2 stars 0 forks source link

Test translations, languages and locales #113

Open ngaruko opened 3 years ago

ngaruko commented 3 years ago

User: Restricted/ Admin/ Online Site: Instance(gamma, gamma-b, cht) Platform: Chrome, Mobile App Test Steps: Steps for test:

  1. adding a new language
  2. adding a new translation file in UI
  3. adding translation file with medic-conf
  4. switching between languages in user settings
  5. ISO 639-2 vs ISO 639-1?
  6. missing translations
  7. Pluralisations
  8. test on mobile

Expected Result: Give what is expected.

TAG this issue with the appropriate labels for config, platform, etc...

ngaruko commented 3 years ago

Testing this on gamma-cht, `3.10.2-beta.1 -

ngaruko commented 3 years ago

1 . Adding a new language on the admin portal

Display > languages image

ngaruko commented 3 years ago

2. Add a translation file

Two ways: (Once the translation file is available)

  1. UI > Display > Languages ... <Illonggo/...> => Upload
  2. medic-conf >>> upload-custom-translations

Once done:

ngaruko commented 3 years ago

3. User settings & Privacy Policies

  1. Add privacy policy for the language

  2. create new user and set the language

  3. logout and login as the new user (or use. different browser)

  4. on login page, make sure the new language us selected

  5. Expect privacy policies to be displayed before accessing the app functionalities image

  6. Application shows with the new language - image

  7. Log out > Expect login page to have the new language selected as default , with proper translation of the form image

  8. Login again, go to User settings, Edit user profile > Expect the language to be selected as default

image

NOTE: There is a known issue around switching between user languages. Since it is not a normal workflow, this is not a blocker.

ngaruko commented 3 years ago

4 . Testing the date picker

There are a few places where the date picker is user. Testing add new person (date of birth) and pregnancy registration (LMP)

Please note: Mobile date picker uses the native date picker, so will probably be in the system language image

ngaruko commented 3 years ago

5 . Testing reports filter by date

The calendar should be in the selected language image