我們的志工尚未將本文翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!
您也可以閱讀本文的 English (US) 版本。

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

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxOperaFirefox for Android
default_localeChrome Full support YesEdge Full support 14Firefox Full support 48Opera Full support YesFirefox Android Full support 48

Legend

Full support  
Full support

文件標籤與貢獻者

此頁面的貢獻者: mdnwebdocs-bot, wbamberg, Makyen
最近更新: mdnwebdocs-bot,