Template:Lang

Return language setting, auto detect based on page url or manually set, used by other templates for l10n.

Usage
Get language code (auto detect or previously set):

It will return 2-characters language code: en/es/it ... etc.