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
Conversation
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
Copy link
Copy Markdown
Contributor
chrisdavidmills
approved these changes
Dec 4, 2026
View reviewed changes
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