Returns a DOMString representing the preferred language of the user, usually the language of the browser UI.
Returns a DOMString representing the preferred language of the user, usually the language of the browser UI. The null value is returned when this is unknown.
MDN
NavigatorLanguage contains methods and properties related to the language of the navigator.
MDN