New in 1.42.0

currentLanguage()

Returns the language that the website is using.

Scrivito.currentLanguage returns the current website language locale in BCP 47 format, e.g., fr, en or en-US.

Returns

String or null.