.getLanguage()

Previous Next

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

Localisation