← Back to release summary

NavigatorLanguage: navigator.languages and languagechange event

Category
Miscellaneous
Type
New or changed feature
Status
Enabled by default (Chrome 37)
Intent stage
None

Summary

navigator.languages will expose the Accept Languages and languageevent (fired on the Window object) will notify of a change in this value. The goal is to allow web applications to handle i18n on the client side, thus allowing offline applications to react to user language changes.

Standards & signals

Docs: https://developer.mozilla.org/en-US/docs/Web/API/NavigatorLanguage.languages

View on chromestatus.com