Endpoint to translate multiple inputs at once

an end point that takes an array of inputs and returns translated version in same sequence as input can have different use cases.
i might be able to add it in future but i wanted to check it first with you guys to se if it’s something that you would like to see.

Welcome! :hand: :slight_smile:

I think you mean batch translations (e.g. bulk translate a bunch of inputs)?

This has been already implemented in the API. Instead of passing a string for q, pass a JSON list of strings.

But if you were thinking of something else, we always welcome contributions!

1 Like

I meant exactly that, thx

1 Like

Hi @pierotofy , it seems there are problems with batch translation.
for example when i try with ['How are you ?' , 'Shall i go ?'] in here Swagger UI in response i get

¿Cómo estás? ¿Me voy?

as you see there is no comma separation to distinguish between inputs.
posted here before opening an issue because wasn’t sure if i’m doing it right.