Translate

Translate

GET https://my.elara.services/api/translate

Query Parameters

Name
Type
Description

key

string

Your API key

Request Body

Name
Type
Description

to

string

The translate to language

text

string

The text you want to translate

{
    status: true,
    message: "The trasnlated message",
    extra: {
        raw: {}, // The raw object for the translation
        from: {
            full: "English",
            iso: "en"
        },
        to: {
            full: "French",
            iso: "fr"
        }
    }
}

Last updated