{{ if or .Translation.TargetSynonyms .Translation.SourceSynonyms .Translation.SourceEquivalentTargetLang .Translation.TargetEquivalentSourceLang }}
Synonyms & Equivalent Words
{{ if .Translation.TargetSynonyms }}
Synonyms for {{.Translation.OutputText}}{{ range $index, $key := .Translation.TargetSynonyms }}{{ if eq $key "" }}{{ else }}{{ if eq $index 0 }}{{ else }}, {{ end }}{{.}}{{ end }}{{ end }}
{{ end }}
{{ if .Translation.SourceSynonyms }}
Synonyms for {{.OriginalText}}{{ range $index, $key := .Translation.SourceSynonyms }}{{ if eq $key "" }}{{ else }}{{ if eq $index 0 }}{{ else }}, {{ end }}{{.}}{{ end }}{{ end }}
{{ end }}
{{ if .Translation.SourceEquivalentTargetLang}}
{{ range $key, $val := .Translation.SourceEquivalentTargetLang }}
Equivalents for {{$key}}{{ range $index, $key2 := $val}}{{ if eq $key2 "" }}{{ else }}{{ if eq $index 0 }}{{ else }}, {{ end }}{{.}}{{ end }}{{ end }}
{{ end }}
{{ end }}
{{ if .Translation.TargetEquivalentSourceLang}}
{{ range $key, $val := .Translation.TargetEquivalentSourceLang }}
Equivalents for {{$key}}{{ range $index, $key2 := $val}}{{ if eq $key2 "" }}{{ else }}{{ if eq $index 0 }}{{ else }}, {{ end }}{{.}}{{ end }}{{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ range $key := .Translation.WordChoices }}
{{ $key.Word }}