Create XLIFF File

About this task

Use the Create XLIFF panel to generate an XLIFF file from a selected document.
Create XLIFF File

Procedure

  1. In main menu, select ViewCreate XLIFF or click the plus.png Create XLIFF option on the left panel.
  2. Type the name and location of the document to convert to XLIFF in the Source File text box or click the Browse... button next to it to select a document from the file system.
    Tip
    Tip
    If you use the Browse... button to select a file, the program tries to automatically guess its file type and character set.
  3. Select the language of the document to convert using the Source Language drop-down list.
  4. Optionally, select the language of the translated document using the Target Language drop-down list.
  5. Select or adjust the type of source document using the File Type drop-down list.
  6. Select or adjust the character set of the source document using the Character Set drop-down list.
  7. If you are converting a DITA map and need to use a .ditaval file for conditional filtering, enter its path in the DITAVAL File text box or use the Browse... button next to it to select a file from the file system.
  8. If you are converting a JSON document and need to use a custom configuration file, enter its name and location in the JSON Configuration text box or use the Browse... button next to it to select a file from the file system.
    Tip
    Tip
    Information on configuration files for the JSON filter is available at https://github.com/rmraya/OpenXLIFF
  9. Use the XLIFF Version radio buttons to select the version of XLIFF that you want to generate.
    NOTICE
    NOTICE
    The program generates XLIFF 2.0 by default.
  10. Select the Paragraph Segmentation check box if you want source text to be segmented at paragraph level.
    NOTICE
    NOTICE
    The program uses sentence-level segmentation by default. You can select the default SRX file used for segmentation in the Settings dialog.
  11. Select the Embed Skeleton option if you want the skeleton file to be inserted in the generated XLIFF.
    NOTICE
    NOTICE
    The program generates a separated skeleton file in the folder defined in Settings dialog. An embedded skeleton allows merging the XLIFF file in any computer, not just the one where the XLIFF was generated.
  12. Click the Create XLIFF button.

Results

The program generates an XLIFF file and the corresponding skeleton.