default_locale

Type String
Mandatory Contingent: must be present if the _locales subdirectory is present, must be absent otherwise.
Example
json
"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

json
"default_locale": "en"

Browser compatibility

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Firefox for Android
Safari on iOS
default_locale

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support