supported_languages
Creates, updates, deletes, gets or lists a supported_languages resource.
Overview
| Name | supported_languages |
| Type | Resource |
| Id | azure.ai_translation_text.supported_languages |
Fields
The following fields are returned by SELECT queries:
- get_supported_languages
| Name | Datatype | Description |
|---|---|---|
models | array | LLM models supported. |
translation | object | Languages that support translate API. |
transliteration | object | Languages that support transliteration API. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_supported_languages | select | endpoint | X-ClientTraceId, scope, Accept-Language | Gets the set of languages currently supported by other operations of the Translator. Gets the set of languages currently supported by other operations of the Translator. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
endpoint | string | The service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client Endpoint parameter. (default: ) |
Accept-Language | string | The language to use for user interface strings. Some of the fields in the response are names of languages or names of regions. Use this parameter to define the language in which these names are returned. The language is specified by providing a well-formed BCP 47 language tag. For instance, use the value fr to request names in French or use the value zh-Hant to request names in Chinese Traditional. Names are provided in the English language when a target language is not specified or when localization is not available. Default value is None. |
X-ClientTraceId | string | A client-generated GUID to uniquely identify the request. Default value is None. |
scope | string | A comma-separated list of names defining the group of languages to return. Allowed group names are: translation, transliteration and dictionary. If no scope is given, then all groups are returned, which is equivalent to passing scope=translation,transliteration,dictionary. To decide which set of supported languages is appropriate for your scenario, see the description of the response object <#response-body>_. Default value is None. |
SELECT examples
- get_supported_languages
Gets the set of languages currently supported by other operations of the Translator. Gets the set of languages currently supported by other operations of the Translator.
SELECT
models,
translation,
transliteration
FROM azure.ai_translation_text.supported_languages
WHERE endpoint = '{{ endpoint }}' -- required
AND X-ClientTraceId = '{{ X-ClientTraceId }}'
AND scope = '{{ scope }}'
AND Accept-Language = '{{ Accept-Language }}'
;