• Skip to main content
  • Skip to search
  • Skip to select language
    • Technologies Overview
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs
    • Browser Extensions
    • MathML
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
    • Send Feedback
    • Contribute to MDN
    • Report a content issue 🌐
    • Report a platform issue 🌐
  1. Web technology for developers
  2. Web app manifests
  3. lang
  • Change language

Table of contents

  • Examples
  • Specifications
  • Browser compatibility

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"

Specifications

Specification
Web Application Manifest
# lang-member

Browser compatibility

BCD tables only load in the browser

Found a problem with this page?

  • Edit on GitHub
  • Source on GitHub
  • Report a problem with this content on GitHub
  • Want to fix the problem yourself? See our Contribution guide.

Last modified: Oct 11, 2021, by MDN contributors

Change your language

Related Topics

  1. background_color
  2. categories
  3. description
  4. dir
  5. display
  6. display_override
  7. iarc_rating_id
  8. icons
  9. lang
  10. name
  11. orientation
  12. prefer_related_applications
  13. protocol_handlers
  14. related_applications
  15. scope
  16. screenshots
  17. short_name
  18. shortcuts
  19. start_url
  20. theme_color
  • Web Technologies
  • Learn Web Development
  • About MDN
  • Feedback
  • About
  • MDN Web Docs Store
  • Contact Us
  • Firefox

MDN

  • MDN on Twitter
  • MDN on Github

Mozilla

  • Mozilla on Twitter
  • Mozilla on Instagram

© 2005-2022 Mozilla and individual contributors. Content is available under these licenses.

  • Terms
  • Privacy
  • Cookies