BerkeleyAutomation / malasakit

Malasakit is a customizable participatory assessment platform that collects and integrates quantitative assessment, qualitative feedback, and peer-to-peer collaborative filtering on ways local communities can become better prepared for typhoons and floods.
2 stars 8 forks source link

make sure feature phone selected language is in settings.LANGUAGES #192

Closed ThanatchaPanpairoj closed 6 years ago

ThanatchaPanpairoj commented 6 years ago

Summary: Make the feature phone language prompt only ask for languages that are currently working. Previously, it prompted for all the languages including the ones that were not ready. It will now only prompt for languages in malasakit-django/cafe/settings.py under LANGUAGES, which can be accessed with settings.LANGUAGES (a list of tuple pairs where the first is a code such as 'en' and the second is 'English'

Testing: made a trial twilio account and tested the difference in language prompt instructions between master and this branch. master askes for all 4 languages while this branch only asks for the 2 that are currently working