IMPORT.XLIFF

This command imports XLIFF formatted text into Perfion localizable features.
The command is introduced in Perfion 2023-R2.

Properties

From

The command supports importing and XLIFF formatted string. The command supports loading from the following sources

  • DataTable

  • Stream

  • PBinaryStream

  • String containing the XLIFF (xml) data.

  • Path (string) pointing to a file in the filesystem

To

XLIFF data is imported into the base feature specified in the To argument, e.g. ‘Product’.
The XLIFF data specifies which features within the base features configuration that are imported to.

Parameters

When executed, the IMPORT.XLIFF command performs an import, much like any other feature data import. The command thus supports the same parameters as the ordinary import command. Please refer to IMPORT | Parameters for details.

Examples

Import from file

This example shows how to simply point out a file for import.

Import XLIFF data from file.

Import from stream

This example shows how other action commands, like the FTP.DOWNLOAD command can be used to download a file for use by the IMPORT.XLIFF command.

Importing XLIFF from a stream, downloaded via the FTP.DOWNLOAD command.

Import from string

This example shows how to import from a string generated by the SELECT.XLIFF command.

 

Â