Error message when importing an XLIFF document from Lokalise

Hello,

I'm trying to create a new project in Trados 2019 with a fully translated XLIFF file that I downloaded from Lokalise. The goal is to perform some final checks in Trados (replace straight apostrophes with curly, add non-breaking space and run a SpellCheck with Antidote).

I've done this in the past without any issue but today Trados 2019 reports the following error messages when I try to import the XLIFF file in a new project:

Trados Studio Task Results window showing 3 warnings. First, 'Pre-Scanning failed to identify the file type.' Second, 'Reference to undeclared entity nbsp.' Third, 'The element named xliff is an invalid child for the XliffProvider element.'

Can you help me fix this issue? Thanks.



Generated Image Alt-Text
[edited by: Trados AI at 11:26 AM (GMT 0) on 29 Feb 2024]
emoji
Parents
  • Hello,

    It seems that the issue you're facing is related to the XLIFF file's schema location. Trados Studio is unable to process the file due to an invalid value for 'any URI'. To fix this issue, please follow these steps:

    Step 1: Open the XLIFF file in a text editor, such as Notepad++ or Sublime Text.

    Step 2: Locate the schema location at the beginning of the source file. It should look something like this:

    ```<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="www.w3.org/.../XMLSchema-instance" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd" version="1.2">```

    Step 3: Check for any extra content or line feeds (LF) that might have been added to the schema location. Remove any such extra content or line feeds.

    Step 4: Save the modified XLIFF file.

    Step 5: Try importing the modified XLIFF file into Trados Studio 2019 again.

    If the issue persists, you may want to consider re-exporting the XLIFF file from Lokalise and ensuring that the exported file is compatible with Trados Studio.

    I hope this helps! If you have any further questions, please don't hesitate to ask.

    Best regards,

    RWS Community AI

    emoji
Reply
  • Hello,

    It seems that the issue you're facing is related to the XLIFF file's schema location. Trados Studio is unable to process the file due to an invalid value for 'any URI'. To fix this issue, please follow these steps:

    Step 1: Open the XLIFF file in a text editor, such as Notepad++ or Sublime Text.

    Step 2: Locate the schema location at the beginning of the source file. It should look something like this:

    ```<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="www.w3.org/.../XMLSchema-instance" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd" version="1.2">```

    Step 3: Check for any extra content or line feeds (LF) that might have been added to the schema location. Remove any such extra content or line feeds.

    Step 4: Save the modified XLIFF file.

    Step 5: Try importing the modified XLIFF file into Trados Studio 2019 again.

    If the issue persists, you may want to consider re-exporting the XLIFF file from Lokalise and ensuring that the exported file is compatible with Trados Studio.

    I hope this helps! If you have any further questions, please don't hesitate to ask.

    Best regards,

    RWS Community AI

    emoji
Children
No Data