Skip to content

Commit a6d54ab

Browse files
captainbrossetmikehoffmsundefined
authored
New article "Translate text with the Translator API" (#3566)
* Translator API docs * writer editor pass * break section in 2 * date * date 2 * date 0907 * date 09 09 * update per Word * webtoc * linkfix * Apply suggestions from code review Co-authored-by: Michael Hoffman <45407486+mikehoffms@users.noreply.github.com> * Reworked intro to the translate methods * not draft-demo link * modular method Ref sections * date 09/11 * aka.ms * clean up lang codes * move sourceLang down * flag2 * # name of flag * edge version # & two flags * normize Send Fdbk * Change bug link * Update microsoft-edge/web-platform/translator-api.md * ms.topic: article --------- Co-authored-by: Michael Hoffman <michael.hoffman@collabera.com> Co-authored-by: Michael Hoffman <45407486+mikehoffms@users.noreply.github.com> Co-authored-by: Michael Hoffman (Ascendion Inc) <v-michoffman@microsoft.com> Co-authored-by: undefined <undefined@users.noreply.github.com>
1 parent 6f263c3 commit a6d54ab

File tree

11 files changed

+439
-7
lines changed

11 files changed

+439
-7
lines changed

microsoft-edge/devtools/network/reference.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ The **Network** tool has the following features, to inspect network activity for
3030

3131

3232
**Detailed contents:**
33+
<!-- https://github.com/captainbrosset/WebToc -->
3334

3435
* [Record network requests](#record-network-requests)
3536
* [Stop recording network requests](#stop-recording-network-requests)

microsoft-edge/devtools/performance/overview.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ Use the **Performance** tool to analyze your website's performance. There are t
3030
* Record a profile and view a performance timeline.
3131

3232
**Detailed contents:**
33+
<!-- https://github.com/captainbrosset/WebToc -->
34+
3335
* [Overview](#overview)
3436
* [Open the Performance tool](#open-the-performance-tool)
3537
* [Using the Command Menu](#using-the-command-menu)

microsoft-edge/devtools/sources/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ ms.date: 04/18/2025
2626
Use the **Sources** tool to view, modify, and debug front-end JavaScript code, and to inspect the resources that make up the current webpage.
2727

2828
**Detailed contents:**
29+
<!-- https://github.com/captainbrosset/WebToc -->
2930

3031
* [The Navigator, Editor, and Debugger panes](#the-navigator-editor-and-debugger-panes)
3132
* [Using the Navigator pane to select files](#using-the-navigator-pane-to-select-files)

microsoft-edge/toc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@
102102

103103
- name: Summarize, write, and rewrite text with the Writing Assistance APIs
104104
href: ./web-platform/writing-assistance-apis.md
105+
106+
- name: Translate text with the Translator API
107+
href: ./web-platform/translator-api.md
105108
# /Experimental web platform features
106109
# =============================================================================
107110
# -----------------------------------------------------------------------------

microsoft-edge/web-platform/prompt-api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,4 +590,5 @@ You can also contribute to the discussion about the design of the Prompt API at
590590

591591
* [Explainer for the Prompt API](https://github.com/webmachinelearning/prompt-api), on the Web Machine Learning GitHub repo.
592592
* [Write, rewrite, and summarize text with the Writing Assistance APIs](./writing-assistance-apis.md)
593+
* [Translate text with the Translator API](./translator-api.md)
593594
* [/built-in-ai/](https://github.com/MicrosoftEdge/Demos/tree/main/built-in-ai/) - Source code and Readme for Built-in AI playgrounds, including the Prompt API playground.
57.9 KB
Loading
140 KB
Loading
166 KB
Loading

microsoft-edge/web-platform/translator-api.md

Lines changed: 428 additions & 0 deletions
Large diffs are not rendered by default.

microsoft-edge/web-platform/writing-assistance-apis.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,6 @@ The Writing Assistance APIs use a model that's provided by Microsoft Edge and bu
7777

7878
* **Simplified usage for web developers:** The built-in model can be run by using straightforward web APIs and doesn't require AI/ML expertise or using third-party frameworks.
7979

80-
<!-- todo: reveal draft-demo link?
81-
See also:
82-
* [/webnn/](https://github.com/MicrosoftEdge/Demos/tree/main/webnn/) - Source code and Readme for the WebNN demo in the `MicrosoftEdge / Demos` repo.
83-
-->
84-
8580

8681
<!-- ====================================================================== -->
8782
## The Phi-4-mini model
@@ -556,6 +551,5 @@ You can also contribute to the discussion about the design of the Writing Assist
556551

557552
* [Writing Assistance APIs Explainer](https://github.com/webmachinelearning/writing-assistance-apis), on the Web Machine Learning GitHub repo.
558553
* [Prompt a built-in language model with the Prompt API](./prompt-api.md).
554+
* [Translate text with the Translator API](./translator-api.md).
559555
* [/built-in-ai/](https://github.com/MicrosoftEdge/Demos/tree/main/built-in-ai/) - Source code and Readme for the Built-in AI playgrounds demo.
560-
<!-- todo: reveal draft-demo link?
561-
* [/webnn/](https://github.com/MicrosoftEdge/Demos/tree/main/webnn/) - Source code and Readme for the WebNN demo in the `MicrosoftEdge / Demos` repo. -->

0 commit comments

Comments
 (0)