« Back to Search  |  Reader Mode  |  Switch to Full Retro Site View Links: Stay in Reader  |  Retro Mode: ON  |  Original »
GitHub · Extracted in 986 ms

Translator and Language Detector: refine network-related unavailability by tomayac · Pull Request #46852 · mdn/content

Source: https://github.com/mdn/content/pull/46852

Repository navigation

Translator and Language Detector: refine network-related unavailability - #46852


Merged
chrisdavidmills merged 1 commit into mdn:main from tomayac:language-detector-no-network-guardrail Dec 4, 2026
Merged

Translator and Language Detector: refine network-related unavailability #46852 chrisdavidmills merged 1 commit into mdn:main from tomayac:language-detector-no-network-guardrail

Conversation

tomayac commented Dec 4, 2026



Copy link Copy Markdown
Contributor

Description

Removes network conditions from the device-related reasons for unavailable and NotSupportedError on the Language Detector pages. On the Translator pages, the network reason now names a data saver setting on a metered connection.

Motivation

The Language Detector API has no network-related availability guardrail. The Translator API allows model downloads on metered connections by default and blocks them only when a data saver setting is on, so "network conditions" overstated the restriction.

Additional details

Related issues and pull requests

Follow-up to #46803 .
Relates to mdn/browser-compat-data#31343

Translator and Language Detector: refine network-related unavailability 3183ccc tomayac requested a review from a team as a code owner December 4, 2026 11:22 tomayac requested review from wbamberg and removed request for a team December 4, 2026 11:22 github-actions
Bot
added Content:WebAPI Web API docs size/s [PR only] 6-50 LoC changed labels Dec 4, 2026

github-actions
Bot
commented Dec 4, 2026



Copy link Copy Markdown
Contributor

Preview URLs (4 pages)

chrisdavidmills approved these changes Dec 4, 2026
View reviewed changes

chrisdavidmills left a comment



Copy link Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more .

LGTM; thanks, @tomayac !

chrisdavidmills merged commit 16f8bab into mdn : main Dec 4, 2026 12 checks passed Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment

Labels

Content:WebAPI Web API docs size/s [PR only] 6-50 LoC changed

2 participants