Forum Discussion

AceApostol's avatar
AceApostol
Community Member
7 years ago

XLIF translation did not import in Articulate Rise

We followed the instruction on how to import translations found in "https://community.articulate.com/articles/rise-translate-your-course".
Steps we followed is as follows:

a) Duplicate the course in Rise;

b) Go to Settings in Rise > Export XLIF File;

c)  Open the Exported XLIF file in Notepad++ (Text Editor);

d) Open provided translated XLIF file in Notepad++ and copy all content to the exported English XLIF version.

e) Then we go back to the Settings in Rise and import the translations back.

However "Import failed: Translation file doesn't match this course." appears after importing.

Below is a sample clip of xlif translations provided.

<xliff xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 http://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xhtml="http://www.w3.org/1999/xhtml" version="1.2">
<file original="course" datatype="plaintext" source-language="en-US" target-language="es-us">
<body>
<trans-unit id="title">
<source>English text</source><target>Texto en inglés</target>
</trans-unit>
<trans-unit id="description">
<source>
<g id="zzu2BdVk7k5pDG92" ctype="x-html-p">This quick course will introduce you to the topic number one.</g>
</source><target>
<g id="zzu2BdVk7k5pDG92" ctype="x-html-p">Este curso rápido le presentará el tema número uno.</g>
</target>
</trans-unit>
</body>
</file>

</xliff>

Please advise on the correct way of importing translations back to Rise? Are there demo videos available to follow that you can provide? Or did we missed anything?

  • TejasPinto's avatar
    TejasPinto
    Community Member

    Hello, I believe that I have done something that has caused errors in the XLIFF imports that I will need some help to understand.

    I think it might be because I have made some minor changes in the titles (adding WIP) to the course titles that have caused the ID of the strings to change, hence it comes up as an error and the import fails. Alternatively, it is that when I make a copy of the course to import the new language it's IDs change?

    However, when I have downloaded the .xliff again, with new IDs and just copy/paste the translation into the new XLIFF, it imports just fine, so that is why I think this small change is the issue.

    Have you encountered this issue before? Do you know of any way to merge/change/update the ID of the strings so that it will translate more easily? Or once the .xliff is exported, I shouldn't be making any changes to the course because that is changing/creating new IDs in my course which are not there in the formerly exported .xliff file?

    Please advise.

    • Crystal-Horn's avatar
      Crystal-Horn
      Staff

      Hello, Tejas. I tested exporting an XLIFF from a course, making a small change to the course title, and then importing the translated XLIFF back into the course. It accepted my translated XLIFF.

      To be clear, you'll need to export the XLIFF from each duplicate of the course. XLIFF files must be uploaded back into the course from which they came. When you make a duplicate, the IDs will change for the XLIFF.

      I hope this helps!

  • Hi all,

    I have been able to successfully translate XLIFF files in the past (last month) but today I am not able to import back any translations.

    I have even tried to:

    1. Duplicate

    2. Export XLIFF

    3. Import the same XLIFF with NO changes

    But I am always receiving the "Import Failed" message.

    Has anything changed in the past few weeks?

    Thanks in advance and best regards,

    • LeaSAgato's avatar
      LeaSAgato
      Staff

      Hi, Juan Jose! I'm sorry to hear you're seeing this issue with your Rise course translations. I tried the steps you followed, and I didn't encounter an "Import Failed" message. Can you confirm if this happens every time you try to import translation file for any of your courses? Also, have you tried using a different browser when translation your Rise course?

  • TeamTeachUp's avatar
    TeamTeachUp
    Community Member

    Hello, I can't seem to upload the Xliff file. It just says processing with the circle and doesn't do anything. This is extremely frustrating. I've followed all the instructions. Can anyone help? Thanks, Stephanie

    • WayneHindson's avatar
      WayneHindson
      Community Member

      I am having the exact same issue! Processing circle spins and then nothing happens

  • Hi, Wayne!

    I'm sorry to hear that you were experiencing this issue. I see you connected with my teammate, Luiza, in a support case. That was a great call! If you run into trouble moving forward, please let us know and we'll be happy to help!

  • Is there any update on this...we are having problems reimporting xlif that has been edited in Notepad++ and Notepad...just one simple change. It does not hang and appears to work, but nothing gets overwritten by the changes...?

  • Yes we finally worked this out and simultaneously got same information from Articulate support. Thanks for the help. It's good to see this information shared clearly in these threads as well

    Chris

    • Chris-Santos's avatar
      Chris-Santos
      Staff

      Happy to hear that you're back on track with your courses, Chris.