Command ‘Import/Export Text Lists’¶
Symbol:
Function: This command exports an active text list, imports a file or compares a text list with a file. The file is in the CSV format. The dialog box Import/Export offers options for this.
Call: Main menu
, context menuRequirement: A text list or a global text list is open and active.
Dialog box ‘Import/Export’
Choose file to compare or import | File that CODESYS reads out.
|
Choose export file | File into which CODESYS writes.
|
Import | Requirement: A file is selected in Choose file to compare or to import. The file can contain text list entries both for the global text list and for text lists. Global text list
Text lists
|
Import replacement file | Requirement: A replacement file is selected in Choose file to compare or import. The replacement file contains replacements for the global text list. CODESYS processes the replacement file line by line and carries out the specified replacements in the global text list. |
Export | Requirement: The file into which CODESYS writes is selected in Choose export file. CODESYS exports all the texts from all the text lists in the current project. All the languages existing in the project are inserted as columns in the export file. The file can be used in order to have the language-dependent texts translated externally. |
Export only text differences | Requirement: An import file for comparison is selected in Choose file to compare or to import; an export file into which CODESYS writes is selected in Choose export file. CODESYS reads the import file and compares the lines of the active text list with it. CODESYS ignores lines that correspond. If lines differ, CODESYS writes the line into the export file and in doing so adopts translations from the text list if necessary. CODESYS adopts the translations from the import file and overwrites them if necessary. |
See also