Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Bulk Translate of Rows in Google Sheets

I want to translate many foreign cities into Turkish.

=GOOGLETRANSLATE(A2:A100; "en"; "tr")

When I run this function for B2:B100, it only translates B2.

Is there any way to translate all of them with one function?
Thank you.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

googletranslate does not support arrays. you can either hardcode it like:

={GOOGLETRANSLATE(A2; "en"; "tr");
  GOOGLETRANSLATE(A3; "en"; "tr");
  GOOGLETRANSLATE(A4; "en"; "tr");
  GOOGLETRANSLATE(A5; "en"; "tr")}

or you can try something like:

=INDEX(FLATTEN(TRIM(SPLIT(GOOGLETRANSLATE(TEXTJOIN(". "; 1; A2:A100); "en"; "tr"); "."))))
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading