Translating site pages via import/export process | Community
Skip to main content
Faizaan_Shaikh
Level 2
October 26, 2017
Solved

Translating site pages via import/export process

  • October 26, 2017
  • 8 replies
  • 7053 views

Hello All,

We need to implement below mentioned translation process for our website..

  • Export site pages in xml or any other format eg: json,csv etc.
  • Manually translate values in english to some other language
  • Import files back into AEM to update pages with translated values.

Really appreciate if can get some suggestions best way to implement this or if there is any tool available to export/import pages with all metadata.

Thanks,

Faizaan Shaikh

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

Here is input from the Eng team....

Hi Scott,

This is achievable with the OOTB translation features. The steps are listed below, they should work with AEM 6.1 and later versions. Screenshots are from 6.3.

  1. In Cloud Services > Translation Integration, create a translation configuration that uses Human Translation as the translation workflow, and leave the translation provider option as blank (see top screenshot).
  2. Associate the site to use the newly created translation configuration, by opening the site's properties, then going to Cloud Services, Cloud Service Configurations > Translation Integration, and selecting the configuration created in the previous step.
  3. Create a translation project for the translatable content.
  4. Open the translation project, and in the Translation Job tile > dropdown, select Export (see bottom screenshot). This will download a compressed file to the local machine. This compressed file contains xml files and any asset files associated with the web pages that are included in the translation job.
  5. Translate the xml and asset files.
  6. Recompress the xml and asset files, use any filename you’d like.

  Back in the Translation project / translation job tile, select Import, and select the compressed file you created in step 6.

8 replies

kautuk_sahni
Community Manager
Community Manager
October 26, 2017

smacdonald2008 Any thoughts?

~kautuk

Kautuk Sahni
smacdonald2008
smacdonald2008Accepted solution
Level 10
October 26, 2017

Here is input from the Eng team....

Hi Scott,

This is achievable with the OOTB translation features. The steps are listed below, they should work with AEM 6.1 and later versions. Screenshots are from 6.3.

  1. In Cloud Services > Translation Integration, create a translation configuration that uses Human Translation as the translation workflow, and leave the translation provider option as blank (see top screenshot).
  2. Associate the site to use the newly created translation configuration, by opening the site's properties, then going to Cloud Services, Cloud Service Configurations > Translation Integration, and selecting the configuration created in the previous step.
  3. Create a translation project for the translatable content.
  4. Open the translation project, and in the Translation Job tile > dropdown, select Export (see bottom screenshot). This will download a compressed file to the local machine. This compressed file contains xml files and any asset files associated with the web pages that are included in the translation job.
  5. Translate the xml and asset files.
  6. Recompress the xml and asset files, use any filename you’d like.

  Back in the Translation project / translation job tile, select Import, and select the compressed file you created in step 6.

Faizaan_Shaikh
Level 2
October 27, 2017

Thanks kautuksahni​ / smacdonald2008​ - really appreciate your inputs, will give it a try.

shinyc65798995
Level 2
March 8, 2018

smacdonald2008​ Hi Scott, I am trying to import the translated file via code an I am stuck. It will be great if you can give me some pointers. I tried using the AEM OOTB resource type POST servlet to post the data, but it gives 403(http://localhost:4502/content/projects/test/jcr:content/dashboard/gadgets/translationjob with form param :operation, :translationJobPath)

Level 2
April 13, 2018

The exported files have currently a custom XML format. Is there any reasons why they're not in xliff? Because xliff is at least the well-known format the content translators already use in AEM translator.

Is xliff support for translation projects in the roadmap of future AEM versions?

April 19, 2018

Hi,

I am able to export the content in XLIF Format, however when I am trying to import it back after manual translation of content it shows this message in the notification.

Any suggestion on what I am missing here ?

Thanks in advance!

June 12, 2018

Hi Scott,

I tried the solution you have given but i am not getting the Page content in XML format but some properties in it.

Thanks,

danielc9244687
February 11, 2019

At least as of AEM 6.3 you need to install the XLIFF connector from the Marketing Exchange. It runs an OKAPI process to convert the AEM XML to XLIFF for export. If I recall correctly, it can be used for manual export or as an option before invoking a TMS connector.