Command Create Localization Template

Function: The command opens the Create Localization Template dialog. Here you define which text information from the project is to be exported to a translation template of the file format pot.

Call: Menu PLC > Project Localization

Requirement: A project is open.

Create Localization Template dialog

The dialog is used to select the textual information to be included in the localization template.

Include the following information

Names

Texts such as dialog title, object names in the PLC project tree

Identifier

Variable identifier, example: "nCounter"

Strings

For example, "count" in the following declaration: sVar : STRING := 'count'

Comments

Comment texts in the programming blocks

Position information

Select which positions of the text categories in the project selected above should be included in the translation file. The position information is always in the first line(s) of a section for a translation.

Example:

#: D:\Proj1.project\Project_Settings:1
msgid "Projekteinstellungen"
msgstr ""
  • "All": All found positions of the text are listed.
  • "First occurrence": The translation file includes the position in the project where the text to be translated occurs for the first time.
  • "None"

Create

The button opens the dialog for saving a file. The translation template is created in a text file of type POT Translation Template (*.pot). Each further create process generates a complete new template file.