Loading

Import article translations

Date de publication: Oct 13, 2022
Description
You may be wondering how to prepare, export and import Articles for translations. Based on the article, Support Articles in Multiple Languages, here's a guide that you can follow to accomplish these tasks!
Résolution
 

To import article translations


1. Set up your Multilingual Knowledge Base: Please follow the steps provided in the article: Support a Multilingual Knowledge Base.

2. Create a Translation queue 
  • Go to Setup. 
  • Enter 'Queues' in the quick find box then select Queues.
  • Click New. 
  • Enter a label and queue name. 
  • Choose a user to notify when new records are added to the queue.
  • Add Knowledge Article Version as the object to include in the queue.
  • Add queue members
  • Save the queue. 
3. Submit your articles for translation: 
  • Once your Multilingual Knowledge base is set up, go to the Knowledge tab. 
  • Click the drop-down box for the article you want to submit for translation. 
  • Click on Submit for Translation. 
  • Note that this needs to be done one-by-one when on Lightning Experience (LEX). You can switch to Salesforce Classic and go to the Article Management tab to select multiple Articles at once and submit them for translation. Once the submission is done, you can revert back to LEX 
  • Select the target language and select the due date. 
  • Click OK. 
4. Export the Articles for translation 
  • Go to Setup. 
  • Enter 'export articles' on the quick find box, then select Export Articles for Translation. 
  • Select the Translation Queue created from step 3.
  • Select the articles you want to include in the export .
  • Click Continue. 
  • Select a user to assign the translations to. 
  • Select your intended file encoding (the preferable encoding is Unicode UTF-8 so special characters would be imported correctly). 
  • Set Delimiter as Comma. 
  • Click Export Now. 
  • Go to Article Imports and Exports 
  • On the Article Exports part, click on the File name of your most recent export to download the file 
  • Extract the file to a separate folder 
5. Set up the Import file for the translations 
  • Open the Knowledge__kav file from the export file.
  • Edit the field translations in the CSV file (for Rich-Text Area fields containing documents, HTMLs, etc., you'll need to edit the files directly; no need to translate the URL field).
  • Save the CSV file with a different name (ex. 'articletranslations').
  • Create another Folder. 
  • Paste the CSV file and the export.properties file (this came with the export) inside the new folder you've just created.
  • Rename the export.properties file as "import.properties." 
  • Create another folder and name it with the language you intend to translate to (ex. French = fr, therefore the folder name would be fr). 
  • Inside the fr folder, create another folder and name it Knowledge__kav (make sure that there are two underscores. 
  • Inside the Knowledge__kav folder, paste the CSV file as well as other files like html, images, etc. that would reflect your unique customizations for your articles. 
  • Select the fr folder and the import.properties file. 
  • Right-click on them and send to compressed folder (ex. 'ImportTranslatedArticles'). 
Here's how your zip file should be structured: 

ImportTranslatedArticles.zip 
- import.properties 
- fr 
---Knowledge__kav 
------articletranslations.csv 
------[images, html, etc.] 

6. Import Article translations 
  • Go to Setup. 
  • Enter 'import articles' in quick find, then select Import Article Translations. 
  • Select the language, assign the translations to a User or a queue, choose the file to import, click Import Now. 
  • Select how to handle imported translations. 
  • Click Finish. 
Numéro d’article de la base de connaissances

000383263

 
Chargement
Salesforce Help | Article