Error when translating pages

Roland Kirpal asked on May 25, 2016 12:35

Hello everyone.

I've created a translation submission for multiple pages. For one of the submitted pages I have a translated xlf file. I checked the content and it contains the correct translation.

I uploaded this xlf file for the corresponding page in the translation transmission. Now the status for the page is Translated: Yes. Then I clicked on Process translations. After processing, the page was created for the target culture. However, the page had still the content of the source language!

I deleted the page for this culture and I basically repeated the process of uploading the translated file and processing the translation. But then I simply get an error message (something like) "Error while importing the translation". Also the status of the transmission is set to "Error while importing". I don't know why. There are no details in the error message or in the error log application.

Does anyone have experience with these two errors (not translated page & error while importing) or any idea what caused them or what I can do?

I'm using Kentico 8.2 with the latest hotfix.

Thanks in advance. Roland

Recent Answers


Juraj Ondrus answered on May 25, 2016 13:08 (last edited on May 25, 2016 13:09)

Hi Roland, What is the xliff file you are importing like? What is its content? Does it contain the target tabs with the translated text? It should be like this:

<source><![CDATA[Home]></source><target><![CDATA[Translated text]></target>

So, the translation is taken from the "target" elements for given culture.
For the second error - are there any more details logged in the Event log application?

0 votesVote for this answer Mark as a Correct answer

Roland Kirpal answered on May 25, 2016 13:18

Hi Juraj,

Thank you for your response.

Yes, the xlf file contains both the source and target data. It looks like this:

<xliff version="1.2">
<file original="cms.document;1822" source-language="de-DE" target-language="en-GB" datatype="htmlbody">
  <body>
    <trans-unit id="title">
      <source><![CDATA[Das ist ein Test.]]></source>
      <target><![CDATA[This is a test.]]></target>
    </trans-unit>
    ...

Unfortunately, the error is not logged to the Event log application.

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on May 26, 2016 13:44

Would it be possible to send us the translation zip package to support@kentico.com? Also, if a temporary access to the admin UI is possible - it would be much appreciated.

In the email message, please refer to this thread.

Thank you!

0 votesVote for this answer Mark as a Correct answer

Michal Macháček answered on March 17, 2017 11:33

Hi, I have the same problem at kentico 8.2.50, have you found some solution ? Thanks

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on March 17, 2017 12:04

Hi,
There was some issue with the translation submission - it was corrupted for some reason. What we did was that we deleted the translation submission and created new one with new export package and it worked fine.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.