Applies To:
  • CitectSCADA 5.xx

I have configured a database in Citect version 5 to dynamically change languages at runtime. During runtime I am triggering the SetLanguage function from a button to change to the local language. I also need to configure a button to revert back to the native language, however, I cannot find a function which does this. Is there such a function or do I have to shutdown Citect and restart it to revert back to English? 

You need an English.dbf (and .ndx) but just set the NATIVE fields and leave the LOCAL blank. With any language files, if the LOCAL field is blank then the NATIVE field is used. So just create another button (or keyboard) command and use SetLanguage("English",0) for example. There is information on SetLanguage in the version 5 readme.