default_locale
Type | String |
---|---|
Mandatory | Contingent: must be present if the _locales subdirectory is present, must be absent otherwise. |
Example |
|
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
Report problems with this compatibility data on GitHubwebextensions-desktop | webextensions-mobile | |||||
---|---|---|---|---|---|---|
default_locale | ChromeFull supportYes | EdgeFull support14 | FirefoxFull support48 | OperaFull supportYes | SafariFull support14 | Firefox for AndroidFull support48 |
Legend
- Full support
- Full support
The compatibility table on 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.