Template:Lang

Auto detect page language, used by other templates for i10n.

Usage
Auto detect language (by page url):

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