navigator.languages

Term side of the Card
Topic: Interact with Client
Unit title: navigator.languages
Categories: Property
Explanation side of the Card

Explanation: The browser API property that returns an array of the user's preferred languages, listed in order of preference. This array can help developers determine the best language to present content in when supporting multiple languages.

Browser compatibility:
  • The chrome browser supports this feature starting from version 37
  • The edge browser supports this feature starting from version 16
  • The firefox browser supports this feature starting from version 32
  • The safari browser supports this feature starting from version 10.1
Availability: