Prompt
translation API with glossary control
Latest observation
Nov 2, 2026
OpenAI APIWeb search: off
A translation API with glossary control lets you translate text while enforcing preferred terms for specific words or phrases.
What it does
- Translates source text into a target language
- Applies a glossary/terminology list so certain terms are translated exactly as you want
- Helps keep:
- product names consistent
- legal terms precise
- brand voice standardized
- technical vocabulary uniform
Typical capabilities
- Glossary upload: CSV, TBX, JSON, or key-value list
- Term matching:
- exact match
- case-insensitive match
- phrase matching
- domain-specific variants
- Language pairs: e.g. EN→FR, EN→DE
- Priority rules:
- glossary overrides model translation
- fallback to default translation when no glossary term matches
- Context handling: support for plural forms, inflections, and aliases in some systems
Example
Source:
Open the dashboard and sync the device.
Glossary:
- dashboard → tableau de bord
- sync → synchroniser
- device → appareil
Output:
Ouvrez le tableau de bord et synchronisez l’appareil.
Common API design
Request
{
"source_language": "en",
"target_language": "fr",
"text": "Open the dashboard and sync the device.",
"glossary_id": "glossary_123"
}
Response
{
"translated_text": "Ouvrez le tableau de bord et synchronisez l’appareil."
}
Important considerations
- Morphology: glossary terms may need inflected forms
- Multi-word phrases: “customer support” should override correctly as a phrase
- Conflict resolution: what happens if one glossary term overlaps another
- Quality control: log glossary hits/misses for review
- Locale-specific spelling: e.g. en-US vs en-GB
Providers that support this
Many MT platforms offer glossary/terminology features, such as:
- Google Cloud Translation
- DeepL API
- Microsoft Translator
- Amazon Translate
- Smartcat / Lokalise / Phrase / Crowdin integrations
If you’re building one
You usually need:
- A translation engine
- A glossary store
- Term normalization/matching logic
- Override mechanism in translation output
- Evaluation and QA pipeline
If you want, I can also help with:
- designing the API schema
- implementing glossary matching logic
- choosing a provider
- building a glossary-aware translation service