Error message : "Package is not valid. Details:" Localization is used, but default_locale was not specified in the manifest. "
Problem:
I created my own extension and set the default locale, but chrome will not allow me to add it to the extension panel and it displays the above message. I also have the _locales folder in my directory as needed. Could this have anything to do with this folder or its location?
manifest:
{
"name": "NAMENAMENAMENAME",
"short_name": "xxx",
"version": "0.0.3",
"manifest_version": 2,
"description": "This does something or other.",
"browser_action": {
"default_icon": {
"16": "icons/yokel16.jpg",
"48": "icons/yokel48.jpg",
"default_title": "CCJ",
"default_popup": "popup.html"
}
},
"icons": {
"16": "icons/yokel16.jpg",
"19": "icons/yokel19.jpg",
"48": "icons/yokel48.jpg",
"128": "icons/yokel128.jpg"
},
"default_locale": "en",
"background": {
"page": "popup.js",
"persistent": false
},
"permissions": [
"cookies",
"history",
"tabs",
"{{some URL}}"
]
}
source
share