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 |
Working Draft |
Initial definition. |
Browser compatibility
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
lang | 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.