goalert icon indicating copy to clipboard operation
goalert copied to clipboard

Translate and customize alert message

Open Schtailian opened this issue 2 years ago • 9 comments

What problem would you like to solve? Please describe: GoAlert does not support multiple languages. When a different language for the alert description is used, we get a mix of languages.

GoAlert: Alert #6: Erhöhte Temperatur

https://example.com/alerts/6

Reply '1a' to ack, '1c' to close

Describe the solution you'd like: It would be nice if the text, which gets appended to a Twilio message, could be customized. For example, with a {{ mustache }} syntax. That way we could also translate it.

Alarm #{{alertNumber}}: 
{{ServiceName}} - {AlertName}}

{{AlertUrl}}

Anworte '{{ackAnswer}}' zum Annehmen, '{{closeAnswer}}' zum Schließen

Describe alternatives you've considered: A fully translated GoAlert, where you can set a language per user and have custom texts for every language and have a translated backend.

Additional context: Translating GoAlert is of course a huge task. Thats why i would split it in three steps.

  1. Only allow to customise the texts. Everything is still in English.
    • ➕A translation would be a side effect of the custom text.
    • ➖ Companies with users in different languages would not have a solution
  2. Allow to set a language per user, and different texts for each language
    • ➕ Companies with users in different languages would now be happy
  3. Translate the backend

Schtailian avatar Mar 08 '22 08:03 Schtailian