/v3/languages endpoints for common integration tasks. Examples are written
as pseudocode and are product-agnostic unless otherwise noted.
For background on how features and feature dependency types work, see the
overview.
The examples below do not account for language pair exceptions. For most integrations this is fine — exceptions
are rare and the API handles them gracefully by disabling the unsupported feature rather than failing. If you
need precise feature support for specific language pairs, see
Handling language pair exceptions at the end of this page.
Populate source and target language dropdowns
A single call toGET /v3/languages returns all languages for a product. Filter by usable_as_source and
usable_as_target to populate each dropdown separately.
Show formality options only when supported
formality is a target-only feature. Check the selected target language’s features array — no need to look
at the source language.
Check if a glossary can be used for a given language pair
glossary is a source-and-target feature — both languages must support it.
List target languages that accept glossaries from a given source language
Filter to targets where both the source and target support theglossary feature.
Show writing style options for the Write product
writing_style is a target-only feature on the write product. Check the target language’s features array.
Determine feature support programmatically
Use/v3/languages/products to drive feature checks at runtime — without hardcoding which features are
target-only or source-and-target into your client.
Handling language pair exceptions
In rare cases, feature support for a specific pair differs from what the individual language objects indicate. The/v3/languages/exceptions endpoint exposes these cases. When an exception exists for a pair, its features
array is authoritative — use it directly instead of intersecting the individual language features arrays.
The example below shows a full glossary pair check that accounts for exceptions:
"glossary" with the feature you are checking.