BaseForm.getLanguage

Returns the language code for the user session. Language codes are defined in the Internationalization dialog. See Tools > System Preferences > Internationalization.

The language is used to:

  • Display language sensitive items: texts, messages and static lists
  • Control the formatting of numeric and date fields when data is presented to the user or entered by the user
  • Set the character encoding (optional)
Further documentation.

returns java.lang.String