default_locale
Type | String |
---|---|
强制性 | 可能发生的:如果存在_locales 子目录,必须存在,否则不存在。 |
例子 | json
|
如果扩展名包含_locales 目录,则该 key 必须存在,否则不得存在。它标识 _locales 的一个子目录,该子目录将用于查找扩展名的默认字符串。
见 国际化 。
范例
json
"default_locale": "en"
Browser compatibility
Report problems with this compatibility data on GitHubdesktop | mobile | ||||||
---|---|---|---|---|---|---|---|
default_locale |
Legend
Tip: you can click/tap on a cell for more information.
- 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.