airq-dev / hazebot

Building the 411 for air quality in the United States: a texting platform accessible to all, that provides actionable local information to protect your and your community.
https://www.hazebot.org/
MIT License
9 stars 1 forks source link

Translations #91

Closed ianhoffman closed 3 years ago

ianhoffman commented 4 years ago

Support translations. This will require integrating with some sort of Flask translation extension (Flask-Babel, maybe?) and then wrapping all the strings with some version of gettext. I think the whole process should be made pretty clear on the Flask-Babel website. We will need to get someone to actually do the translations, of course.

Then we will create a new Twilio phone number for each new language. We'll update the sms-reply endpoint sms-reply/en, sms-reply/es, etc. The second part of the path will determine the lang.