Symbol:
Function: This command exports an active text list, imports a file, or matches a text list with a file. The file has the CSV format. The “Import/Export” dialog provides options for this.
Call: Menu bar: “Text List Import/Export Text Lists”; context menu
Requirement: A text list or global text list is active.
Dialog 'Import/Export'
“Select File for Import” |
File that CODESYS reads.
|
“Select export file” |
File that CODESYS writes to.
|
“Import” |
Requirement: A file is selected in “Select file for compare or import”. The file can contain text list entries for both the global text list and text lists. Global text list
Text lists
|
“Import replacement file” |
Requirement: A replacement file is selected in “Select file for compare or import”. The replacement file contains replacements for the global text list. CODESYS processes the replacement file row by row and performs the specified replacements in the global text list. The structure of the replacement file is described in the section "Managing static text in a global text list". |
“Export” |
Requirement: The file that CODESYS writes to is selected in “Select export file”. CODESYS exports all texts from all text lists of the current project. All languages available in the project are inserted as columns in the export file. The file can be used for the external translation of the language-dependent texts. |
“Export text differences only” |
Requirement: An import file is selected for the comparison in “Select file for compare or export”, and an export file that CODESYS writes to is selected in “Select export file”. CODESYS reads the import file and then uses that information to compare the rows of the active text list. CODESYS ignores the rows that match. If rows differ, then CODESYS writes the row to the export file and, if necessary, copies translations from the text list. CODESYS accepts the translations from the import file and overwrites them if necessary. |