Skip to content

Switching language in header in GuestDataBaseRegistration

Ivan Remsha requested to merge issue_488_header_switch_language into main

License and Copyright Notice

By submitting this issue or commenting on this issue, or contributing any content to this issue, you certify under the Developer Certificate of Origin that the content you post may be licensed under GPLv3 (for code) or CC-BY-SA 4.0 International (for non-code content).

Branch Name

issue_488_header_switch_language

Related Issues

closes #488 opens #495

Description

Switch the language in the header part of the application in GuestDatabaseRegistration when requested.

Steps to Test

  1. Step 1: Open the Guest Databse Registration page
  2. Step 2: Click on the select language button and switch to spanish
  3. Step 3: Wait for app to reload and observe the header switch languages.
  4. Step 4: Browse through the rest of the activity observing the language.
  5. Step 5: Confirm all needed strings have been updated to Spanish in GuestDatabaseRegistration activity.
  6. Step 6: Return to home page by clicking the home button on the top right.
  7. Step 7: Click on 'Future Efforts', Assert login string is changed with 'LOGIN TEST'.
  8. Step 8: Return to home page by clicking the home button on the top right.
  9. Step 9: Click on 'Check Expiration Date' button.
  10. Step 10: Dismiss the popup
  11. Step 11: Assert the header of the page is changed to 'TESTESTEST'.
  12. Step 12: Stop application by clicking 'stop app' in android studio.
  13. Step 13: Start application again
  14. Step 14: Click on 'Future Efforts', Assert login string is changed with 'LOGIN TEST'.
  15. Step 15: Return to home page by clicking the home button on the top right.
  16. Step 16: Click on 'Check Expiration Date' button, dismiss popup.
  17. Step 17: Assert the header of the page is changed to 'TESTESTEST'.
  18. Step 18: Return to home page by clicking the home button on the top right.
  19. Step 19: Click on 'Guest Registration'
  20. Step 20: Browse through the rest of the activity observing the language.
  21. Step 21: Confirm all needed strings have been updated to Spanish in GuestDatabaseRegistration activity.
  22. Step 22: Return to home page by clicking the home button on the top right, Click on 'Guest Registration'.
  23. Step 23: Click on the select language button and switch to english.
  24. Step 24: Browse through the rest of the activity observing the language, Assert all strings are in english.
  25. Step 25: Return to home page by clicking the home button on the top right, Click on 'Future Efforts'.
  26. Step 26: Assert Login string is 'LOGIN'.
  27. Step 27: Return to home page by clicking the home button on the top right, Click on 'Check Expiration Date', dismiss popup.
  28. Step 29: Assert Header is 'Check Expiration Date'.

Relevant Screenshots

image

Relevant Logs

Developer Notes

  • Note 1: Current method to switch language is outdated.
Edited by Ivan Remsha

Merge request reports