An example localization plugin for importing localization tables from CSV (Comma Separated Value) files. More...
Public Attributes | |
override string | Description => "Imports the localization table from a CSV file." |
Gets the description of the CSV importer command. More... | |
override string | Name => "Import CSV" |
Gets the name of the CSV importer command. More... | |
Public Attributes inherited from AbstractLocalizationImporter | |
bool | InvalidatesUndoHistory => true |
Protected Member Functions | |
override IEnumerable< LocalizationTableRow > | Import (string localizationTableName) |
Imports a localization table from a CSV file prompted from the user. More... | |
Additional Inherited Members | |
Properties inherited from AbstractLocalizationImporter | |
abstract string | Description [get] |
Gets the description of the plugin command. More... | |
virtual string | DisplayName [get] |
Gets the display name of the plugin command. More... | |
abstract string | Name [get] |
Gets the name of the plugin command. More... | |
KanziStudio | Studio [get] |
Gets the KanziStudio object, which provides the entry point for operating with the Kanzi Studio plugin API. More... | |
An example localization plugin for importing localization tables from CSV (Comma Separated Value) files.
This class implements the abstract class AbstractLocalizationImporter.
|
inlineprotectedvirtual |
Imports a localization table from a CSV file prompted from the user.
localizationTableName | The name of the localization table where the rows should be imported to. |
System.IO.InvalidDataException | The selected CSV file is malformed. Make sure there are correct number of columns in each row. |
System.InvalidOperationException | Resource name cannot be null for a text resource. |
Implements AbstractLocalizationImporter.
override string Description => "Imports the localization table from a CSV file." |
Gets the description of the CSV importer command.
Plugin command description.
override string Name => "Import CSV" |
Gets the name of the CSV importer command.
Plugin command name.