Get translation profile languages - Fluid Topics - Latest

Fluid Topics API Reference Guide

Category
Reference Guides
Audience
public
Version
Latest

This web service allows users to get the source and target languages available for a translation AI profile.

It is necessary to provide an Ft-Calling-App value when using Fluid Topics web services. See Fluid Topics calling app.

An AI profile is linked to a specific translation provider. Available languages differ between translation providers.

Method Endpoint
GET
/api/ai/translate/{id}/languages
Path parameter Type Description
{id} String The AI profile's identifier. Call the List AI profiles web service, and use the profile's profileId value.

Response body

The following code block is an example of JSON request body for this web service:

{
  "items": [
    {
      "code": "AR",
      "label": "العربية"
    },
    {
      "code": "BG",
      "label": "български"
    },
    {
      "code": "CS",
      "label": "čeština"
    },
    {
      "code": "DA",
      "label": "dansk"
    },
    {
      "code": "DE",
      "label": "Deutsch"
    },
    {
      "code": "EL",
      "label": "Ελληνικά"
    },
    {
      "code": "EN-GB",
      "label": "English (United Kingdom)"
    },
    {
      "code": "EN-US",
      "label": "English (United States)"
    },
    {
      "code": "ES",
      "label": "español"
    },
    {
      "code": "ET",
      "label": "eesti"
    },
    {
      "code": "FI",
      "label": "suomi"
    },
    {
      "code": "FR",
      "label": "français"
    },
    {
      "code": "HU",
      "label": "magyar"
    },
    {
      "code": "ID",
      "label": "Indonesia"
    },
    {
      "code": "IT",
      "label": "italiano"
    },
    {
      "code": "JA",
      "label": "日本語"
    },
    {
      "code": "KO",
      "label": "한국어"
    },
    {
      "code": "LT",
      "label": "lietuvių"
    },
    {
      "code": "LV",
      "label": "latviešu"
    },
    {
      "code": "NB",
      "label": "norsk bokmål"
    },
    {
      "code": "NL",
      "label": "Nederlands"
    },
    {
      "code": "PL",
      "label": "polski"
    },
    {
      "code": "PT-BR",
      "label": "português (Brasil)"
    },
    {
      "code": "PT-PT",
      "label": "português (Portugal)"
    },
    {
      "code": "RO",
      "label": "română"
    },
    {
      "code": "RU",
      "label": "русский"
    },
    {
      "code": "SK",
      "label": "slovenčina"
    },
    {
      "code": "SL",
      "label": "slovenščina"
    },
    {
      "code": "SV",
      "label": "svenska"
    },
    {
      "code": "TR",
      "label": "Türkçe"
    },
    {
      "code": "UK",
      "label": "українська"
    },
    {
      "code": "ZH",
      "label": "中文"
    },
    {
      "code": "ZH-HANS",
      "label": "中文 (简体)"
    },
    {
      "code": "ZH-HANT",
      "label": "中文 (繁體)"
    }
  ]
}
Field Type Description
items Array Array of supported languages.
code String The code for the language.
label String The name for the language.
The names appear as the available options for the On-demand translation component.
Return code Description
200 OK Returns the languages available for the translation profile.

For a comprehensive list of all possible return codes, see Return codes.