Notify admins about invalid translation overrides

Sometimes translation overrides become invalid. Usually it’s because of missing interpolation keys. There are two reasons for that:

  • The override was created before we added checks for those keys.

  • We update a translation and add or remove an interpolation key.

It would be great if Discourse could notify admins about such problems. Either on the dashboard or via PM.
This feature shouldn’t be too hard, since the checks are already implemented in https://github.com/discourse/discourse/blob/master/lib/i18n/locale_file_checker.rb

9 Likes

I’m sure any change in the original string would be interesting for an admin who has overridden the string. If the original string changes but the overridden doesn’t, there is always a chance of broken UX. Not only through interpolation keys but also broken links, obsolete information etc.

1 Like