You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -24,27 +24,26 @@ See the list of [languages supported](../language-support.md) when using Transla
24
24
25
25
> [!IMPORTANT]
26
26
>
27
-
> * Translator container is in gated preview and to use it you must submit an online request, and have it approved. See [Request approval to run container](#request-approval-to-run-container) below for more information.
28
-
> * Translator container supports limited features compared to the cloud offerings. *See*[**Container translate methods**](translator-container-supported-parameters.md) for more details.
27
+
> * Translator container is in gated preview and to use it you must submit an online request, and have it approved. For more information, _see_[Request approval to run container](#request-approval-to-run-container) below.
28
+
> * Translator container supports limited features compared to the cloud offerings. Form more information, _see_[**Container translate methods**](translator-container-supported-parameters.md).
29
29
30
30
<!-- markdownlint-disable MD033 -->
31
31
32
32
## Prerequisites
33
33
34
34
To get started, you'll need an active [**Azure account**](https://azure.microsoft.com/free/cognitive-services/). If you don't have one, you can [**create a free account**](https://azure.microsoft.com/free/).
35
35
36
-
You'll also need the following:
36
+
You'll also need to have:
37
37
38
38
| Required | Purpose |
39
39
|--|--|
40
40
| Familiarity with Docker | <ul><li>You should have a basic understanding of Docker concepts, like registries, repositories, containers, and container images, as well as knowledge of basic `docker`[terminology and commands](/dotnet/architecture/microservices/container-docker-introduction/docker-terminology).</li></ul> |
41
41
| Docker Engine | <ul><li>You need the Docker Engine installed on a [host computer](#host-computer). Docker provides packages that configure the Docker environment on [macOS](https://docs.docker.com/docker-for-mac/), [Windows](https://docs.docker.com/docker-for-windows/), and [Linux](https://docs.docker.com/engine/installation/#supported-platforms). For a primer on Docker and container basics, see the [Docker overview](https://docs.docker.com/engine/docker-overview/).</li><li> Docker must be configured to allow the containers to connect with and send billing data to Azure. </li><li> On **Windows**, Docker must also be configured to support **Linux** containers.</li></ul> |
42
42
| Translator resource | <ul><li>An Azure [Translator](https://portal.azure.com/#create/Microsoft.CognitiveServicesTextTranslation) resource with region other than 'global', associated API key and endpoint URI. Both values are required to start the container and can be found on the resource overview page.</li></ul>|
43
43
44
-
45
44
|Optional|Purpose|
46
45
|---------|----------|
47
-
|Azure CLI (command-line interface) |<ul><li> The [Azure CLI](/cli/azure/install-azure-cli) enables you to use a set of online commands to create and manage Azure resources. It is available to install in Windows, macOS, and Linux environments and can be run in a Docker container and Azure Cloud Shell.</li></ul> |
46
+
|Azure CLI (command-line interface) |<ul><li> The [Azure CLI](/cli/azure/install-azure-cli) enables you to use a set of online commands to create and manage Azure resources. It's available to install in Windows, macOS, and Linux environments and can be run in a Docker container and Azure Cloud Shell.</li></ul> |
48
47
49
48
50
49
## Required elements
@@ -127,7 +126,7 @@ You can have this container and a different Azure Cognitive Services container r
127
126
128
127
## Query the container's Translator endpoint
129
128
130
-
The container provides a REST-based Translator endpoint API. Here is an example request:
129
+
The container provides a REST-based Translator endpoint API. Here's an example request:
131
130
132
131
```curl
133
132
curl -X POST "http://localhost:5000/translate?api-version=3.0&from=en&to=zh-HANS"
@@ -220,7 +219,7 @@ print(json.dumps(
220
219
221
220
Launch Visual Studio, and create a new console application. Edit the `*.csproj` file to add the `<LangVersion>7.1</LangVersion>` node—specifies C# 7.1. Add the [Newtoonsoft.Json](https://www.nuget.org/packages/Newtonsoft.Json/) NuGet package, version 11.0.2.
222
221
223
-
In the `Program.cs` replace all the existing code with the following:
222
+
In the `Program.cs` replace all the existing code with the following script:
0 commit comments