JavaScript » Navigator » language

Syntax:
navigator.language

This Property contains information, usually in the form of two letters, on the language translation of the browser.