diff --git a/lang/lang.go b/lang/lang.go index 5623fab91e..3188acee7b 100644 --- a/lang/lang.go +++ b/lang/lang.go @@ -156,7 +156,8 @@ func AddTranslationsFS(fs embed.FS, dir string) (retErr error) { } func addLanguage(data []byte, name string) error { - _, err := bundle.ParseMessageFileBytes(data, name) + f, err := bundle.ParseMessageFileBytes(data, name) + translated = append(translated, f.Tag) return err }