Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TranslatorLanguagesOptionalParams

Package version

Optional Parameters.

Hierarchy

  • any
    • TranslatorLanguagesOptionalParams

Index

Properties

Optional acceptLanguage

acceptLanguage: undefined | 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.

Optional scope

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.

Optional xClientTraceId

xClientTraceId: undefined | string

A client-generated GUID to uniquely identify the request. Note that you can omit this header if you include the trace ID in the query string using a query parameter named ClientTraceId.

Generated using TypeDoc