W3cubDocs

/Web Extensions

default_locale

Type String
Mandatory Contingent: must be present if the _locales subdirectory is present, must be absent otherwise.
Example
"default_locale": "en"

This key must be present if the extension contains the _locales directory, and must be absent otherwise. It identifies a subdirectory of _locales, and this subdirectory will be used to find the default strings for your extension.

See Internationalization.

Example

"default_locale": "en"

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
default_locale
Yes
14
48
?
Yes
14
?
?
48
?
?
?

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/default_locale