Easy translate text on web-pages

Latest Version

Version
4.2.2
Update
December 10, 2024
Size
6.64MiB
Developer
Category
Users
70,000+
Rating
4.49192 ★
Manifest Version
3
Web Store Status
Languages Support
Deutsch
English
Tiếng Việt
Türkçe
Slovenský
Српски
русский
中文 (繁體)
See more
Permissions
Storage
UnlimitedStorage
ContextMenus
ActiveTab
Tabs
DeclarativeNetRequest
See more

XTranslate Extension

Translate from 100+ foreign languages to your native directly on web-site you're reading or
put text in the extension's drop-down window.

Features:
-----------
Many ways to get translation of text from the page:
- double-click on the word

select text and get immediate translation after one of:
- press hotkey defined in extension settings (Alt+Shift+X by default)
- click on the translate icon appeared near selected text
- click on selected text (turned off by default)
- just release mouse button (turned off by default)
- write text in input fields, mouse over it and press hotkey
- press context menu on the page and select item to get translation in place or translate whole page in new tab with specific translation vendor.

You can get even some information from images by putting mouse cursor over the image element and
press hotkey (title or alt attributes will be used, if applicable).
This trick actually works with any element under mouse cursor. Just put mouse over item and press hotkey!

1) Translate texts in PDF-files

In order to work with local files (HTML or PDF) allow access for the extension:
- open extensions page `chrome://extensions/`, find XTranslate™ and click \"Details\" button
- enable checkbox \"Allow access to file URLs\"

2) Listen text-to-speech for all supported translation vendors
3) Adjust your unique design of the popup with translated text
4) Customize the ways of getting translations and other options in the settings
5) Insert any text in app's window (Alt+X hotkey by default) and get translation of sentences or words with dictionary support
6) Save your favourite translations as quick bookmarks in history
7) View and edit history of translations

Available translation vendors:
-----------
* Google - http://translate.google.com/ (free)
* Yandex - http://translate.yandex.com/ (free)
* Bing - https://www.bing.com/translator (free)
* DeepL - https://www.deepl.com/translator (free: api key limited to 500 000 chars/month)
* OpenAI (ChatGPT authors) - (paid: register and top-up balance at https://platform.openai.com)

Steps for access OpenAI translations:
-----------
1) Sign up at OpenAI platform https://platform.openai.com
2) Create api access key to get access for OpenAI translation service results
3) Top-up your balance (5$+) and disable credit card's auto-top-up balance at billing page (recommended)
4) Don't forget to adjust limits settings (recommended)

Security considerations:
-----------
1) OpenAI api key handled via extension-scoped chrome.storage.local apis and used only within \"Authorization\" header to sign OpenAI API requests (which is not exposed or tracked, even if \"webRequest\" API enabled in some other malicious extension)
2) OpenAI requests goes through official OpenAI NPM-package and running only within background service-worker which helps with XSS-kind of attacks.
3) Don't enter or share your OpenAI key anywhere else except extension's settings page (options page)
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "XTranslate", "description": "__MSG_short_description__", "version": "4.2.2", "manifest_version": 3, "default_locale": "en", "icons": { "16": "assets/icons/16.png", "48": "assets/icons/48.png", "128": "assets/icons/128.png" }, "options_ui": { "page": "options.html", "open_in_tab": true }, "action": { "default_popup": "options.html?page=translate", "default_icon": { "19": "assets/icons/48.png", "38": "assets/icons/48.png" } }, "commands": { "_execute_action": { "suggested_key": { "default": "Alt+X" } } }, "background": { "service_worker": "background.js" }, "content_scripts": [ { "all_frames": true, "run_at": "document_start", "js": ["content-script.js"], "matches": [ "", "https://*/*", "file://*/*" ] } ], "web_accessible_resources": [ { "resources": ["*.*"], "matches": [ "*://*/*", "file://*/*" ] } ], "content_security_policy": { "extension_pages": "script-src 'self'; object-src 'self'" }, "host_permissions": [ "*://*/*", "\\u003Call_urls\\u003E" ], "permissions": [ "storage", "unlimitedStorage", "contextMenus", "activeTab", "tabs", "declarativeNetRequest" ]}
Read more