To set up multi-language support in your project, complete the following:
Note: The language defined in the Citect.INI file will take precedence over the default language defined in your project.
On defining your required languages in Citect SCADA this will update the project database LANG.dbf. This database is used to specify the local languages you would like a project to support. It also determines if OEM conversion is required for a particular language.
Next define the default language to be used in your project. This needs to be one of the languages you defined in the Lang.dbf.
During compilation, a local language database (eg. French.DBF) is generated for each language defined in LANG.dbf. If the project, does not have an existing database for one of the specified languages, one will be created with its native column populated with native strings and local column empty.
Once this process is complete, an .rdb file is added to the master project for each defined language to facilitate the operation of multi-language switching during runtime.
The following table provides an example of how LANG.dbf would impact the project "MasterProject1" when compiled.
Project name |
Lang.DBF languages |
Existing and newly defined language databases |
.dbf Files created during compilation |
.rdb files created during compilation |
---|---|---|---|---|
Local Language Databases |
Runtime Database |
|||
MasterProject1 |
French(France) |
English.dbf |
French(France).dbf |
lanen.rdb
|
If your master project includes an Include project (not one of the include projects included with Citect SCADA) you will need to define the supported languages within your include project as well as in the master project.
The following table provides an example of how LANG.DBF would impact the project “MasterProject1” when linked to "IncludeProject1" which has its own existing language databases.
Project name |
Lang.DBF languages |
Existing and newly defined language databases |
.dbf Files created during compilation |
.rdb files created during compilation |
---|---|---|---|---|
Local Language Databases |
Runtime Database |
|||
MasterProject1 |
French(France) |
English.dbf |
French(France).dbf (1) |
lanen.rdb |
IncludeProject1 |
French (France)
English |
English.dbf
|
If a project and one of its included projects have variations of the same language database, the translations will be merged into the ‘.rdb file’, in the table above the French files (1 & 2) were merged.
You can also see that during compilation the Korean.dbf was created and added to the "MasterProject". Once you have defined the required languages, and defined the default language for your project you can open the language DBFs and insert translation (for main and include projects).
Note: If you do not define any languages in LANG.dbf, Citect SCADA will create a default file _lanEN.rdb The native text will be used for the associated translations.
To define the languages supported by a project:
Note: When setting the properties for you will be required to associate a setting for the parameter
See Also
Published June 2018