{{ template "header" . }}
{{ range $key, $value := .enginesNames }} {{ if eq $.Engine $key }}Translate with: {{$value}} {{ end }} {{ end }}


Source Text: {{ if .Translation.SourceTransliteration }}
Transliteration: {{ newlinetobr .Translation.SourceTransliteration }}{{ end }} {{ if .TtsFrom }}
{{ end }}
{{ if .TranslateAll }} {{ range $key, $value := .TranslateAll }}
Engine: {{.Engine}} {{ if .AutoDetect }}
Detected Language: {{.AutoDetect}}{{ end }} {{ if .TargetTransliteration }}
Transliteration: {{ newlinetobr .TargetTransliteration }}{{ end }} {{ if $.TtsTo }}
{{ end }}
{{ end }} {{ else }} {{ if .TranslationExists }}
{{ if .Translation.AutoDetect }}
Detected Language: {{.Translation.AutoDetect}}{{ end }} {{ if .Translation.TargetTransliteration }}
Transliteration: {{ newlinetobr .Translation.TargetTransliteration }}{{ end }} {{ if .TtsTo }}
{{ end }}
{{ end }} {{ end }}
{{ if .TranslationExists }} {{ end }} {{ if and .Engine .From .To .OriginalText }}

Copy translation link

{{ end }} {{ if .TranslationExists }} {{ else }} {{ end }}
{{ if eq .Engine "yandex" }} {{ template "yandex_extras" . }} {{ end }} {{ if eq .Engine "reverso" }} {{ template "reverso_extras" . }} {{ end }} {{ if eq .Engine "google" }} {{ template "google_extras" . }} {{ end }}
{{ template "footer" . }}