google-translate icon indicating copy to clipboard operation
google-translate copied to clipboard

Retrieve full translated text

Open AlecJY opened this issue 1 year ago • 1 comments

Currently, when translating multiline texts, only the first line is being retrieved. For example, when translating "Halo\nDunia" to English the API only returns "Hello" instead of "Hello\nWorld". This PR fixes the issue by adding a loop to combine other parts of the text.

AlecJY avatar Jul 09 '23 17:07 AlecJY