How to access Language Code in HTML Header

$kirby->language()->code();

will give you the language code for the currently active language.

1 Like