Skip to content

Commit d37ce9c

Browse files
committed
update char count charge and date
1 parent e7f4e25 commit d37ce9c

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

articles/cognitive-services/Translator/reference/v3-0-translate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ manager: nitinme
99
ms.service: cognitive-services
1010
ms.subservice: translator-text
1111
ms.topic: reference
12-
ms.date: 08/15/2022
12+
ms.date: 09/07/2022
1313
ms.author: lajanuar
1414
---
1515

articles/cognitive-services/Translator/translator-text-apis.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: translator-text
1010
ms.topic: how-to
11-
ms.date: 06/20/2022
11+
ms.date: 09/07/2022
1212
ms.author: lajanuar
1313
ms.devlang: csharp, golang, java, javascript, python
1414
ms.custom: cog-serv-seo-aug-2020, mode-other
@@ -60,7 +60,7 @@ To call the Translator service via the [REST API](reference/rest-api-guide.md),
6060
|**X-ClientTraceId**|A client-generated GUID to uniquely identify the request. You can omit this header if you include the trace ID in the query string using a query parameter named ClientTraceId.|<ul><li>***Optional***</li></ul>
6161
|||
6262

63-
## Setup your application
63+
## Set up your application
6464

6565
### [C#](#tab/csharp)
6666

@@ -113,7 +113,7 @@ To call the Translator service via the [REST API](reference/rest-api-guide.md),
113113
114114
1. Open the **Program.cs** file.
115115

116-
1. Delete the pre-existing code, including the line `Console.Writeline("Hello World!")`. You will copy and paste the code samples into your application's Program.cs file. For each code sample, make sure you update the key and endpoint variables with values from your Azure portal Translator instance.
116+
1. Delete the pre-existing code, including the line `Console.Writeline("Hello World!")`. You'll copy and paste the code samples into your application's Program.cs file. For each code sample, make sure you update the key and endpoint variables with values from your Azure portal Translator instance.
117117

118118
1. Once you've added a desired code sample to your application, choose the green **start button** next to formRecognizer_quickstart to build and run your program, or press **F5**.
119119

@@ -141,7 +141,7 @@ You can use any text editor to write Go applications. We recommend using the lat
141141

142142
1. Create a new GO file named **text-translator.go** from the **translator-text-app** directory.
143143

144-
1. You will copy and paste the code samples into your **text-translator.go** file. Make sure you update the key variable with the value from your Azure portal Translator instance.
144+
1. You'll copy and paste the code samples into your **text-translator.go** file. Make sure you update the key variable with the value from your Azure portal Translator instance.
145145

146146
1. Once you've added a code sample to your application, your Go program can be executed in a command or terminal prompt. Make sure your prompt's path is set to the **translator-text-app** folder and use the following command:
147147

@@ -227,7 +227,7 @@ You can use any text editor to write Go applications. We recommend using the lat
227227
>
228228
> * You can also create a new file in your IDE named `TranslatorText.java` and save it to the `java` directory.
229229

230-
1. You will copy and paste the code samples `TranslatorText.java` file. **Make sure you update the key with one of the key values from your Azure portal Translator instance**.
230+
1. You'll copy and paste the code samples `TranslatorText.java` file. **Make sure you update the key with one of the key values from your Azure portal Translator instance**.
231231

232232
1. Once you've added a code sample to your application, navigate back to your main project directory—**translator-text-app**, open a console window, and enter the following commands:
233233

@@ -290,7 +290,7 @@ You can use any text editor to write Go applications. We recommend using the lat
290290
>
291291
> * You can also create a new file named `index.js` in your IDE and save it to the `translator-text-app` directory.
292292

293-
1. You will copy and paste the code samples into your `index.js` file. **Make sure you update the key variable with the value from your Azure portal Translator instance**.
293+
1. You'll copy and paste the code samples into your `index.js` file. **Make sure you update the key variable with the value from your Azure portal Translator instance**.
294294

295295
1. Once you've added the code sample to your application, run your program:
296296

@@ -611,7 +611,7 @@ After a successful call, you should see the following response:
611611
]
612612
```
613613

614-
You can check the consumption (the number of characters for which you'll be charged) for each request through in the [**response headers: x-metered-usage**](reference/v3-0-translate.md#response-headers) field .
614+
You can check the consumption (the number of characters for which you'll be charged) for each request through in the [**response headers: x-metered-usage**](reference/v3-0-translate.md#response-headers) field.
615615

616616
## Detect language
617617

0 commit comments

Comments
 (0)