Object PmWebLang (Web language versions)

The object represents several WEB addresses, each of them corresponnds to one language version. The number of language versions is set by "All used languages" configurator in PmRoot object.

If the application is defined only for one language (if there are no other languages defined in "All used languages" configurator), then the PmWebLang object is irrelevant and should not be used.

No other PROMOTIC objects can be created in this object.
In the PmWebLang object it is possible to create the PmWebFolder, PmWebDir and PmWebInfo objects. The PmWebLang object can be created in the PmWeb object. There can be only one PmWebLang object in the PmWeb object.

The client requiring data from this WEB component is type of "PmDataClient" from the license point of view. But nested WEB components already have their own licenses, for example, Web Panels, Alarms and Events, Trends, can be viewed only by clients of the "PmWebClient" type.

This object adopts properties and methods of object PmObject
Configuration windows:
Object General information about the object
Content Content of the object in the XML form
Events Definition of object events algorithms
Permissions Object permissions
Except the objects inserted directly, also another objects (WEB components) located elsewhere in the object tree can be registered into this object (e.g. PmPanel, PmWorkspace, PmTrend, PmAlarmEvent, PmData objects, etc.). These extra objects are registered into the object using the Web Server page in the PmWeb object configurator. All these objects will become WEB subcomponent of this object, i.e. URL address of these subcomponents will begin with the URL address of this object.

It is useful to register into the PmWebLang object only those WEB subcomponents that are language dependent (e.g. PmPanel, PmTrend, PmAlarmEvent). The objects that are language independent (e.g. PmData) are usually registered outside this object.

The PmTrend and PmAlarmEvent objects HTML pages are automatically translated by the PROMOTIC system. The PmPanel object represents a page created by the designer. It is possible to display such panel in multiple languages when using Macro expression $.text instead of static texts.

From the Web client point of view the files offered by the PmWebLang object are accessible on the URL address:
where lang is language identifier and it can be for example: en (English), cs (Czech), sk (Slovak), pl (Polish), de (German), ru (Russian)...

The WEB components registered to this object are accessible on the URL address (e.g. for Russian):

© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice