diff --git a/README.md b/README.md index 2711fae..3b66741 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Explainer for the Web Translation and Language Detection APIs +# Explainer for the Translator and Language Detector APIs _This proposal is an early design sketch by the Chrome built-in AI team to describe the problem below and solicit feedback on the proposed solution. It has not been approved to ship in Chrome._ @@ -44,7 +44,7 @@ See [below](#language-tag-handling) for more on the details of how language tags ### Translation -Here is the basic usage of the translation API, with no error handling: +Here is the basic usage of the translator API, with no error handling: ```js const translator = await ai.translator.create({ @@ -62,7 +62,7 @@ Note that the `create()` method call here might cause the download of a translat ### Language detection -A similar simplified example of the language detection API: +A similar simplified example of the language detector API: ```js const detector = await ai.languageDetector.create(); diff --git a/index.bs b/index.bs index 1b370be..8be7dbe 100644 --- a/index.bs +++ b/index.bs @@ -1,12 +1,12 @@
-Title: Web Translation API +Title: Translator and Language Detector APIs Shortname: translation Level: None Status: w3c/UD Repository: explainers-by-googlers/translation-api URL: https://explainers-by-googlers.github.io/translation-api Editor: Domenic Denicola, Google https://google.com, d@domenic.me, https://domenic.me/ -Abstract: The web translation API gives web pages the ability to translate text between languages, and detect the language of such text. +Abstract: The translator and langauge detector APIs gives web pages the ability to translate text between languages, and detect the language of such text. Markup Shorthands: markdown yes, css no Complain About: accidental-2119 yes, missing-example-ids yes Assume Explicit For: yes