Skip to main content


This article describes the USoft 10 product only.

In USoft 11, the web UI API was revised and improved. For full details, go to:

Revised web UI API in USoft 11


This article covers the getLanguage() function as part of the UI Library.

The UI Library is a mixed bag of Javascript extensions for programming UI controls in USoft web pages. Do not confuse with the structured UDB object model for data exchange between USoft web pages and a Rules Engine.

The getLanguage() function returns the current language. This is the language that is sent to the Rules Service on every request.

Syntax

$.udb.ui.getLanguage()

Example

var l = $.udb.ui.getLanguage();

A possible output of this example is:

"en"

See also setLanguage() and transform().

Be the first to reply!

Reply