atykhonov / google-translate

Emacs interface to Google Translate
370 stars 48 forks source link

Strip newlines in text to translate #69

Open fourtytoo opened 7 years ago

fourtytoo commented 7 years ago

It seems to me that Google Translate heuristics might yield different results when multi-line inputs are given as opposed to single-line inputs. At least from English to German, it appears that the translation might be better without newlines. Does Google Translate assume a period at the newline?

stardiviner commented 4 years ago

I can't reproduce your problem. Can your provide more information?

This should be implemented in function google-translate--trim-string.