TransLang - Offline Translator 的隐私政策
TransLang - Offline Translator 作者: UsefulHands
TransLang - Offline Translator 的隐私政策
Last updated: 26 November 2026
TransLang is a browser extension that translates text you select on web pages.
What TransLang processes
- Selected text: when you ask TransLang to translate (by selecting text, clicking the icon, or using the context menu), its language is detected and the text is translated on your device: in Google Chrome by Chrome's built-in translator, in other browsers (Firefox, Edge, Brave, Opera, …) by Bergamot, Mozilla's open-source translation engine, which is included in the extension. It is never sent to the developer, and to no other server unless you use online translation (see below).
- Your browser's language settings: read on your device to choose sensible default languages (for example the language to translate into). They are not sent anywhere.
- Page address (hostname only): the site name (for example wikipedia.org) is saved next to each entry in your translation history so you can see where it came from. Full page addresses are not stored.
What TransLang stores, and where
- Settings (target language, trigger mode, online translation, disabled sites, …): your browser's extension storage (sync). Synced only between your own browsers if you are signed in to your browser account.
- Translation cache: your device (IndexedDB). Not shared.
- Translation history (if enabled): your device (IndexedDB). Not shared.
- Language packs: your device (managed by Chrome, or IndexedDB in other browsers). Not shared.
- Your language pairs on the Languages tab: your browser's extension storage (local, this device only). Not shared.
You can turn off history, clear the history and the cache in TransLang's settings, and uninstalling the extension deletes all of its data.
Online translation (optional)
Google Translate translates long or tricky sentences better than the offline models. TransLang can use it, but only when you ask:
- When: when you click "Improve online" under a translation or "Translate online" next to "Download", or for every selection if you choose "Always" under Settings › Behavior › Online translation. The first time, TransLang tells you once that the text leaves your computer (in Firefox, Firefox asks for your permission instead). Nothing is sent before that.
- What is sent: only the selected text and the two language codes, to Google Translate (translate.googleapis.com). No cookies, no Google account, no page address and nothing else is sent. As with any request, Google sees your IP address; its Google Privacy Policy (https://policies.google.com/privacy) applies.
- Never to the developer: the text goes straight from your browser to Google.
- Stored like any translation: online translations are kept in the cache and history on your device, as above.
- Turn it off: Settings › Behavior › Online translation › Off. Then nothing ever leaves your device.
PDFs and Google Docs
- PDFs: when you click "Open with TransLang" on a PDF (or open one from TransLang's toolbar menu), TransLang's own viewer downloads that PDF from its address, the same way the browser's viewer does (with your browser's cookies, so PDFs behind a login open too), or reads the file you pick or drop. The PDF is read and drawn on your device; it is not sent anywhere and not stored. Selecting text in it works as on web pages. PDFs keep opening in your browser's own viewer unless you choose TransLang.
- Google Docs: TransLang asks Google Docs to add its accessible text layer (the same switch Chrome's Reading Mode and other extensions use), so that text you select there can be read. Nothing is sent to Google or anyone else because of it.
Language pack downloads
Language packs are downloaded once, when you click "Download" in TransLang's settings: in Google Chrome from Google (by Chrome itself), in other browsers (and in Chrome for languages Chrome's translator doesn't offer, such as Persian) from TransLang's model mirror on Hugging Face (huggingface.co/UsefulHands/translang-models, unmodified copies of the translation models Firefox uses, by Mozilla). If Hugging Face cannot be reached, the older copy on GitHub Pages (usefulhands.github.io/translang-models) is used instead. These downloads contain only translation models; no text you select and no personal data is sent, and no account is needed.
As with any download, the server sees your IP address and may keep it in its access logs under its own privacy policy: Google Privacy Policy (https://policies.google.com/privacy) for Chrome's packs, Hugging Face Privacy Policy (https://huggingface.co/privacy) and GitHub General Privacy Statement (https://docs.github.com/en/site-policy/privacy-policies/github-general-privacy-statement) for the mirror. Neither shares these logs with the developer: Hugging Face shows only a download count, so the developer cannot see who downloads a language pack.
What TransLang does not do
- No accounts, no analytics, no tracking, no advertising.
- No data is sold, or shared for any other purpose. The only data that ever leaves your device is the text you choose to translate online, sent to Google Translate to translate it.
- No remote code is loaded (the translation engine is part of the extension; only model data is downloaded).
Permissions
- Read and change data on all websites (content script and host access): needed to read the text you select and show the translation tooltip next to it, and, for TransLang's PDF viewer, to download a PDF you chose to open with TransLang.
- storage: save your settings.
- unlimitedStorage: keep downloaded language packs (about 20-70 MB each) on your device.
- offscreen (Chromium browsers): run the on-device translators in a hidden extension page, and download the language packs you asked for there, so a download continues after you close the settings page.
- contextMenus: the "Translate with TransLang" right-click item, and "Open a PDF with TransLang" on the toolbar icon.
- activeTab: show the current site's name in the popup (for "Active on this site").
- webRequest (Firefox only): notice when a tab shows a PDF, by reading the type in the page's response headers, to show the "Open with TransLang" icon. Nothing is blocked, changed, stored or sent.
Online translation needs no extra permission. Firefox lists it as optional data collection ("website content") and asks for your consent before the first online translation.
Contact
Questions: contact the developer through the extension's store listing (Chrome Web Store, Microsoft Edge Add-ons or Firefox Add-ons).