This ticket https://github.com/owncloud/core/pull/14925/files#diff-c428169f7899b3a581d46ca00ce88080R18 will add a new helper for translations in handlebars templates.
These should also be parsed properly by the l10n.pl script (at least once that PR is merged)
@DeepDiver1975