Using the Process Analyst > Process Analyst for Developers > Integration with CitectSCADA > Using CitectSCADA to switch the Process Analyst language

Using CitectSCADA to switch the Process Analyst language

CitectSCADA uses the Cicode function SetLanguage to switch languages at run time. To allow the Process Analyst to determine the language to display, you need to map your CitectSCADA language databases to the Process Analyst resource files.

To do this, add a new .ini section called [ProcessAnalyst] to the Citect.ini file on each of your CitectSCADA clients and servers, and create a mapping for each language. (This section might already exist in your Citect.ini file.) The mapping need to use this format:

LanguagePath.<dbf>=<ProcessAnalystLanguage>

		

where <dbf> is the name of a specific CitectSCADA language translation database, and <ProcessAnalystLanguage> is the language code of the resources.dll file that has the equivalent translations.

For example,

[ProcessAnalyst]
LanguagePath.French=fr
LanguagePath.Chinese=zh-CN
LanguagePath.German=de

The last step is to verify each of your machines contains the necessary language fonts. Windows XP and Windows 2000 both provide facilities to add the necessary languages to your machine via the Regional and Language Options dialog box, accessible from the Control Panel. This step is necessary if you want to use Asian languages on an English operating system. See Creating your own Process Analyst resource.dll for details on adding languages to your system.

With the .ini file now configured, languages installed, and the Resource.dll files in place when the SetLanguage Cicode function is called, CitectSCADA and the Process Analyst will automatically change into the selected language.