{{- $translatedLangs := slice -}} {{- range .AllTranslations -}} {{- $translatedLangs = $translatedLangs | append .Language.Lang -}} {{- end -}}