Hola Translator for Chrome
Translate Page and Text in Browser
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version": 2,
"name": "__MSG_appName__",
"description": "__MSG_appDesc__",
"version": "1.0.1",
"default_locale": "en",
"permissions": [
"contextMenus",
"storage",
"<all_urls>"
],
"icons": {
"16": "img/[email protected]",
"24": "img/[email protected]",
"32": "img/[email protected]",
"64": "img/[email protected]",
"128": "img/[email protected]"
},
"background": {
"page": "html/background.html"
},
"options_page": "html/options-page.html",
"browser_action": {
"default_title": "Hola Translator",
"default_icon": {
"128": "img/status-bar.png"
}
},
"content_scripts": [
{
"matches": [
"*://*/*"
],
"css": [
"css/content.css"
],
"js": [
"js/content/translator-text.js",
"js/content/translator-page.js",
"js/content/content-handlers.js"
],
"run_at": "document_end"
}
],
"web_accessible_resources": [
"img/holaIconWhite.svg",
"img/holaLogoBlack.svg",
"img/arrowDown.svg",
"img/crossButton.svg",
"js/libs/jquery-3.6.0.min.js",
"js/modal/modal.js",
"js/content/translator-page-inject.js",
"html/modal.html"
],
"commands": {
"translate-text": {
"suggested_key": {
"default": "Ctrl+T",
"mac": "MacCtrl+T"
},
"description": "__MSG_menuTranslateText__"
},
"translate-page": {
"suggested_key": {
"default": "Ctrl+P",
"mac": "MacCtrl+P"
},
"description": "__MSG_menuTranslatePage__"
}
}
}