Example of language runtime

Example is placed in the folder: /Pm/Examples/Others/Lang.

It is an example of creating language dependent application.

The example is designed both for local and web application.

The language list used in the application is defined in the page PmRoot > Application. The language dependent texts are read accordingly to selected language from the text_applang.xml file. The syntax of the xml file and access to the texts is described in Macro expression $.text. The application language switching is accessed using the RtLang (How to create an application using different national languages) property.

The language switching for local application is solved in the PmPanel object, /Workspace/Toolbar where in the PmiButton the used languages are defined.

In the PmRoot object in Events page in the Object Start event the application runtime language selection is defined.

For enabling the application into the web there si the PmWeb object located in the PmFolder object. There is another object created inside named PmWebLang acting as several web addreses, each of them representing one language version. The PmWorkspace object is in the Web Server page allowed into the application web.
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice