Closed tarunima closed 7 months ago
Since we have done this for the english templates, it would be relatively simpler to replicate this for the other languages. Most of the code relevant to this feature is here. And their associated templates are here
run the test using mix test test/dau/user_message/templates/FILENAME.exs
The static templates are stored here
A foot gun I had encountered last time was that when I was editing these template files using VSCode, it was removing certain spaces at the end of line which would cause the template to not match the text whitelisted on gupshup. I could not figure out which vscode extension was doing it, so I resorted to using vim to edit the files as a stopgap solution. Its a bit inconvinient but flagging this in case you end up encountering the same issue.
All 18 approved hindi templates have been incorporated into the dashboard
Scope of Work