You can use this API to transalate text.
You can test the api here Test api here
GET /translate/to?from={from}&to={to}&text={text}
Parameter | Type | Description |
---|---|---|
to |
string |
Required. Language to translate |
from |
string |
Required. Language from translate |
text |
string |
Required. Text to translate |