Problem
In #14290, we created a CountryPicker component that gives the user the option to select many different countries as their home address. This is useful, but if a user prefers to use the app in Spanish (or any other language in the future), we need to make sure to show full address names in that language.
Similarly, the StatePicker we have does not get translated in to Spanish at the moment and it needs to be.
Solution
Update both components to be able to display state / country names in different languages
As agreed upon in this thread, probably the best solution is to put translations in our language files (en.js and es.js) similar to how we have different pronouns lists in those files
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~01b4c798f34b03ef03
- Upwork Job ID: 1623242073333895168
- Last Price Increase: 2023-02-22
Problem
In #14290, we created a
CountryPickercomponent that gives the user the option to select many different countries as their home address. This is useful, but if a user prefers to use the app in Spanish (or any other language in the future), we need to make sure to show full address names in that language.Similarly, the
StatePickerwe have does not get translated in to Spanish at the moment and it needs to be.Solution
Update both components to be able to display state / country names in different languages
As agreed upon in this thread, probably the best solution is to put translations in our language files (
en.jsandes.js) similar to how we have differentpronounslists in those filesUpwork Automation - Do Not Edit