lang

Type String
Mandatory No

The lang member is a string containing a single language tag. It specifies the primary language for the values of the manifest's directionality-capable members, and together with dir determines their directionality.

Examples

"lang": "en-US"

Specification

Specification Status Comment Feedback

Web App Manifest
The definition of 'lang' in that specification.

Working Draft

Initial definition.

Web App Manifest Working Group drafts

Browser compatibility

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
lang
Experimental
Chrome ? Edge ? Firefox ? IE ? Opera ? Safari ? WebView Android ? Chrome Android ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?

Legend

Compatibility unknown
Compatibility unknown
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.