Prompt
Why is Google Cloud Translation missing my glossary terms?
Latest observation
Google Cloud Translation glossaries are not guaranteed to force every glossary term to appear exactly as you expect. The most common reasons a term seems “missing” are:
1) The source text didn’t match the glossary entry
Glossaries work by matching the source-language text against your glossary terms. If the text differs even slightly, it may not trigger:
- different capitalization
- punctuation changes
- plural/singular forms
- inflections or conjugations
- extra whitespace
- different word order
- line breaks or segmentation differences
2) The term is only applied when the translator sees that exact span
If your term is part of a larger phrase, Google may translate the whole phrase in a way that doesn’t preserve the glossary term exactly.
3) Glossary coverage is limited by language pair and direction
Glossaries are typically directional and depend on the exact source/target language pair. If you use the glossary in the wrong direction, it won’t apply.
4) The glossary entry conflicts with the model’s translation
If the surrounding context strongly suggests another translation, the glossary may not fully override it in every case.
5) You may be using a feature or API path that doesn’t support glossary behavior the way you expect
For example, behavior can differ between:
- Basic vs Advanced Translation
- v2 vs v3 API
- batch vs online translation
- document translation vs plain text translation
6) Term formatting or file issues
If you uploaded a glossary file, problems can come from:
- incorrect delimiter/CSV formatting
- encoding issues
- hidden characters
- mismatched language tags
- term file not being parsed as expected
7) Tokenization/normalization differences
The service may normalize text internally, which can make a human-visible term not match the exact internal token boundaries.
What to check
- Verify the source text exactly matches the glossary entry
- Confirm the source and target languages are correct
- Make sure you’re using the right glossary resource
- Test with a short, isolated sentence
- Check whether the term is being translated in a larger phrase
- Re-upload the glossary in a clean, validated format
If you want, I can help you debug it step by step if you paste:
- your source sentence
- the glossary entry
- source/target languages
- whether you’re using v2 or v3 / online or batch translation
Brands