Download 3318 kB

Transcript
4 - The Individual Components
Translate Project (into another Language)
This command in the 'Project' 'Translate into Another Language' menu opens the 'Translate Project
into Another Language' dialog.
Dialog for translating the project into another language
The current project can be translated into another language if an appropriate translation file is used.
Note:
If you want to save the version of the project in the language in which it was originally created, save a
copy of the project prior to translation under a different name. The translation process cannot be
undone.
Consider in this context the possibility just to display the project in another language (in this display
version then however not editable).
In the field Translation file, provide the path to the translation file to be used. By pressing Search you
may access the standard Windows file selection dialog.
The field Target language contains a list of the language identifiers entered in the translation file,
from which you can select the desired target language.
OK starts the translation of the current project into the chosen target language with the help of the
specified translation file. During translation, a progress dialog is displayed, as well as error messages,
if any. After translation, the dialog box and all open editor windows of the project are closed.
Cancel closes the dialog box without modification to the current project.
If the translation file contains erroneous entries, an error message is displayed after OK is pressed,
giving the file path and the erroneous line, e.g.: "[C:\Programs\CoDeSys\projects\visu.tlt (78)];
Translation text expected"
Note: Please regard the specialities for texts in visualizations; see above, ‘Create translation file’.
'Show project translated'
If there is a translation file available for the project, you can display one of the language versions
defined there, without overwriting the original language version of the project.
(Regard this possibility in comparison to the "real" translating of a project, which you would do with the
command 'Translate Project', and which would mean to create a new version of the project !)
The command 'Translate this project' in menu 'Project' 'Translate into another language' opens the
dialog 'Translate project into another language'.
Dialog for displaying the project in another language
In field Translation file insert the path of the translation file, you want to use. You can receive
assistance by the standard dialog for opening a file which is opened by button Browse.
CoDeSys V2.3
4-35