getLanguage()

  • 3 August 2022
  • 0 replies
  • 14 views

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().


0 replies

Be the first to reply!

Reply