_queryLang

Get the current site language code by converting dash (URL-friendly) to underscore (db-friendly)

Parameters
string $lang = null

The language code (optional - if not provided, the current language code will be used)

#
Returns
string

The language code