Skip to content

Synchronize with BCD v6.0.17 #39655

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ title: "LanguageDetector: availability() static method"
short-title: availability()
slug: Web/API/LanguageDetector/availability_static
page-type: web-api-static-method
status:
- experimental
browser-compat: api.LanguageDetector.availability_static
---

{{APIRef("Translator and Language Detector APIs")}}{{securecontext_header}}
{{APIRef("Translator and Language Detector APIs")}}{{securecontext_header}}{{SeeCompatTable}}

The **`availability()`** static method of the {{domxref("LanguageDetector")}} interface returns an enumerated value that indicates whether the browser AI model supports a given `LanguageDetector` configuration.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ title: "LanguageDetector: create() static method"
short-title: create()
slug: Web/API/LanguageDetector/create_static
page-type: web-api-static-method
status:
- experimental
browser-compat: api.LanguageDetector.create_static
---

{{APIRef("Translator and Language Detector APIs")}}{{securecontext_header}}
{{APIRef("Translator and Language Detector APIs")}}{{securecontext_header}}{{SeeCompatTable}}

The **`create()`** static method of the {{domxref("LanguageDetector")}} interface creates a new `LanguageDetector` instance to detect languages.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/notification/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ _Also inherits properties from its parent interface, {{domxref("EventTarget")}}_
- `granted` — The user accepts having notifications displayed.
- `default` — The user choice is unknown and therefore the browser will act as if the value were denied.

- {{domxref("Notification.maxActions_static", "Notification.maxActions")}} {{ReadOnlyInline}}
- {{domxref("Notification.maxActions_static", "Notification.maxActions")}} {{ReadOnlyInline}} {{experimental_inline}}
- : The maximum number of actions supported by the device and the User Agent.

## Instance properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ title: "Notification: maxActions static property"
short-title: maxActions
slug: Web/API/Notification/maxActions_static
page-type: web-api-static-property
status:
- experimental
browser-compat: api.Notification.maxActions_static
---

{{APIRef("Web Notifications")}}{{SecureContext_Header}} {{AvailableInWorkers}}
{{APIRef("Web Notifications")}}{{SecureContext_Header}} {{AvailableInWorkers}}{{SeeCompatTable}}

The **`maxActions`** read-only static property of the
{{domxref("Notification")}} interface returns the maximum number of actions supported by
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ title: "Translator: availability() static method"
short-title: availability()
slug: Web/API/Translator/availability_static
page-type: web-api-static-method
status:
- experimental
browser-compat: api.Translator.availability_static
---

{{APIRef("Translator and Language Detector APIs")}}{{securecontext_header}}
{{APIRef("Translator and Language Detector APIs")}}{{securecontext_header}}{{SeeCompatTable}}

The **`availability()`** static method of the {{domxref("Translator")}} interface returns an enumerated value that indicates the availability of the AI model for the given `Translator` configuration.

Expand Down
4 changes: 3 additions & 1 deletion files/en-us/web/api/translator/create_static/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ title: "Translator: create() static method"
short-title: create()
slug: Web/API/Translator/create_static
page-type: web-api-static-method
status:
- experimental
browser-compat: api.Translator.create_static
---

{{APIRef("Translator and Language Detector APIs")}}{{securecontext_header}}
{{APIRef("Translator and Language Detector APIs")}}{{securecontext_header}}{{SeeCompatTable}}

The **`create()`** static method of the {{domxref("Translator")}} interface creates a new `Translator` instance that can be used to translate text.

Expand Down