Translate table data using external translator according with locale property

Greetings to everyone,

In a Perspective table, I have translated everything that is static (headers, fixed-field content) using the Translation Manager. However, I also have a column where free text is entered.
I would like to know if it’s possible to use an external translator, such as Google Translate, to attempt to translate the content of that cell whenever the locale property of the session is changed. Would that be feasible?

1 Like

Sure. The basic approach would probably be to hook up a property change script on the text property, then run a script that uses system.net.httpClient to pass the input text to some external translation tool, retrieves a response, and sends it back to the session.

1 Like

Thanks for the answer.

So, if I had a table with, for example, 100 rows populated via a query, I could return the result as JSON, use a script transform to read the cell content, and send the request using System.Net.HttpClient. When could this usage slow down the system?