medic / cht-conf

A command-line interface for configuring Community Health Toolkit applications
https://communityhealthtoolkit.org
GNU Affero General Public License v3.0
22 stars 25 forks source link

Show warning or error when translation key used in app_settings doesn't have translation in translation file #553

Open 1yuv opened 1 year ago

1yuv commented 1 year ago

Is your feature request related to a problem? Please describe. Most of the SMS based projects rely on the translation key to send sms or send validaton response. However, there is no way of checking if all those translation keys put on app_settings have corresponding trasnlations put in trasnlation files or not. Missing a translation key could cause smses not to be sent and we've seen this problem already.

Describe the solution you'd like Check and throw warning or error if translation key used in app_settings doesn't have corresponding entry in translation file(s).

garethbowen commented 1 year ago

Great idea. It might be useful to also check the rest of the configuration (tasks, targets, etc) for the same.