Forum Discussion
KristianTara552
6 years agoCommunity Member
Can't import translated xliff file
I have received translated XLIFFs from a trenalting agency, but when I try to import them to SL i get this error message:
Unsupported XLIFF File: The document target language should be present onl...
BogdanHotea-0ef
2 years agoCommunity Member
For anyone facing this issue, open your XLF file with a code editor and check the first line
<?xml version="1.0" encoding="utf-8"?><xliff srcLang="en-US" trgLang="fr-CA" version="2.0" ... rest of the code
My file was missing the "trgLang=" part, which seems to be the culprit for the error "Unsupported XLIFF File: The document target language should be present only when Target elements are present. Check that both are present or neither are present."
Once I added the target language, the import worked.
Related Content
- 7 months ago
- 6 months ago
- 7 months ago
- 10 months ago