Hi George-Marius BACIU
When uploading an XLIFF dictionary to Azure AI Custom Translator, the portal prompts you to select a "Child tag" which identifies the XML element containing your phrase units. This isn't labeled “Azure AI Custom Translator”—you choose based on your XLF version:
- For XLIFF 2.0 files (uses
<unit> elements): choose unit as the child tag.
- For XLIFF 1.2 files (uses
<trans-unit> elements): choose trans‑unit as the child tag.
That ensures the upload parser recognizes and correctly interprets your phrase records
A few things to double-check:
- File size : Custom Translator caps individual files at 100 MB. If yours is larger, split it into chunks or ZIP multiple sets.
- Encoding/invalid characters: Remove any U+FFFD replacement characters—they indicate failed encoding conversions.
- XLIFF formatting quirks: Ensure your
<seg> and </seg> tags stay on the same line (no stray newlines). An extra line break inside a segment can break the parser.
- Dictionary-specific checks
Phrase/sentence dictionaries require an equal number of source and target segments. Export each column to plain text to verify alignment before upload.
Supported language codes :
Both source and target codes must be supported. One side has to be en-US or en-GB.
If you’re still stuck, try uploading a small sample XLF (e.g. 10–20 entries) to see if it succeeds—this will help isolate whether it’s file size/format or something else.
Regarding the “child tag” on Microsoft Q&A:
after choosing the parent category “Azure AI,” type “Custom Translator” into the child-tag search box and hit Enter. If that doesn’t stick, you can also use the generic “Translator” tag—for this forum, “Azure AI Custom Translator” lives under the Translator category, not as its own first-level option.
References:
https://learn.microsoft.com/en-us/azure/ai-services/translator/custom-translator/concepts/dictionaries
https://github.com/MicrosoftDocs/azure-ai-docs/blob/main/articles/ai-services/translator/custom-translator/concepts/document-formats-naming-convention.md
I Hope this helps. Do let me know if you have any further queries.
Thankyou!