bloom-frontend
bloom-frontend copied to clipboard
Hindi Translations for the Country Input in the Demographic form
Overview
We managed to source JSON files full of translations for countries for German, Spanish, Portuguese and French. But we didn't manage to find a file that would give us all the translations for Hindi. Google translate didn't seem quite adequate when we checked. Please note, this ticket is preferably completed by a Hindi speaker but not a requirement.
Action Items
- [ ] Take a look at constants/countries.ts
- [ ] For each country in the array, see that the label is keyed by locale. However, there is no locale for hindi.
- [ ] We need a locale for hindi and to translate each country into hindi.
- [ ] You can decide whether to look for a premade hindi JSON file like those found here. Or whether to update the JSON file manually.
- [ ] Once the hindi file has been updated, please test the sign up flow by following the next steps:
- [ ] Ensure the front and backend code is running with the database seeded.
- [ ] Go to localhost:3000/auth/register in Hindi
- [ ] Create an account by clicking on the Hindi "Get started" button.
- [ ] Fill out the sign up survey forms on /account/about-you
- [ ] Ensure that the country options served up are in Hindi rather than english
- [ ] Run all cypress tests to ensure that everything is working smoothly
Resources/Instructions
- See bloom backend for instructions on the backend setup
- See #908 for PR updating country input options
- See Cypress.md for instructions on cypress