Language File

[Top]  [Chapter]  [Previous]  [Next]

The Language description is an XML file similar to the Edit-Layout. Its name must be 'Default'.

 

The outer tag is <loc> and inside this tag several branches are possible, such as <EN>, <DE> or others. The name of such an branch is used by the SelectLanguage action to use the included strings to translate the captions, hints and dialog texts.

clip0018

This sub menu description will create two menu entries to select English or German:

 

<menu wpa="SelectLanguage">

  <menu caption="German" wpa="SelectLanguage" param="DE"/>

  <menu caption="English" wpa="SelectLanguage" param="EN"/>

</menu>

 

Of course the 'SelectLanguage' action can be executed directly using the ProcessWPA method,

 

VB Example:

WPDLLInt1.ProcessWPA "SelectLanguage", "DE"

 

 

 

 


[languagefile.htm]    Copyright © 2007 by WPCubed GmbH