Skip to content

Commit

Permalink
Revamp the API surface
Browse files Browse the repository at this point in the history
There are two major motivations for this change:

* Splitting translation and language detection into separate APIs, to reflect what we've learned from prototyping.

* Aligning better with other built-in API proposals, including future ones, by using shared patterns.

This notably removes translation from an unknown source language, closing #1. It also adds AbortSignals and destroy() methods.

This also removes the tentative proposal for language tag handling, instead pointing to discussions in #11.
  • Loading branch information
domenic committed Jul 26, 2024
1 parent 08010af commit 2cb6637
Show file tree
Hide file tree
Showing 2 changed files with 225 additions and 160 deletions.
Loading

0 comments on commit 2cb6637

Please sign in to comment.