上传 Chrome 扩展 - default_locale 错误

Upload Chrome extension - default_locale error

当我尝试在 https://chrome.google.com/webstore/developer/dashboard 中上传我的 chrome 扩展 .zip 时,我收到错误:"The default_locale field is missing in manifest." 但是已经定义了 default_locale。

{
  "name": "xxx",
  "author": "xxx",
  "version": "1.0.0",
  "description": "__MSG_appDesc__",
  "default_locale": "pt",
  "permissions":
  [
    "bookmarks",
    "storage",
    "tabs"
  ],
  "browser_action":
  {
      "default_title": "xxxx",
      "default_icon": "/img/icon.png",
      "default_popup": "/html/services.html"
  },
  "manifest_version": 2,
  "content_security_policy": "script-src 'self' https://ajax.googleapis.com; object-src 'self'"
}

有什么问题?

根据 internationalization documentation 没有 pt 语言环境,请使用以下之一:

pt_BR Portuguese (Brazil)
pt_PT Portuguese (Portugal)

default_locale 字段在具有 _locales 目录的扩展中是必需的;在没有 _locales 目录的扩展中必须不存在。

https://developer.chrome.com/apps/manifest/default_locale