Method Export
Export(LocaleIdentifier, string, string, XliffVersion, ICollection<StringTableCollection>, ITaskReporter)
Exports all Stringcollections
as 1 or more XLIFF files where each file represents a single language.
Declaration
public static void Export(LocaleIdentifier source, string directory, string name, XliffVersion version, ICollection<StringTableCollection> collections, ITaskReporter reporter = null)
Parameters
Type | Name | Description |
---|---|---|
Locale |
source | This is the language that will be used as the source language for all generated XLIFF files. |
string | directory | The directory to output the generated XLIFF files. |
string | name | The default name for all generated XLIFF files. Files will be saved with the full name "[name]_[Language Code].xlf" |
Xliff |
version | The XLIFF version to generate the files in. |
ICollection<String |
collections | 1 or more String |
ITask |
reporter | Optional reporter which can report the current progress. |
Export(StringTable, string, XliffVersion, ICollection<StringTable>, ITaskReporter)
Export the values in tables
using sourceLanguage
as the source language to one or more XLIFF files.
Declaration
public static void Export(StringTable sourceLanguage, string directory, XliffVersion version, ICollection<StringTable> tables, ITaskReporter reporter = null)
Parameters
Type | Name | Description |
---|---|---|
String |
sourceLanguage | This is the table that will be used as the source language for all generated XLIFF files. |
string | directory | The directory where all generated XLIFF files will be saved to. |
Xliff |
version | The XLIFF version to generate the files in. |
ICollection<String |
tables | 1 or more String |
ITask |
reporter | Optional reporter which can report the current progress. |