[Enter feedback here] - example ⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
A string enclosed by "<" and ">" are not translated, such as "\PS C:\> $APIKey ='xxxxx'
PS C:\> $requestUri = "https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&from=en&to=ja&textType=plain&category=general"
PS C:\> ?
PS C:\> $requestHeader = @{
>> ? 'Content-type'='application/json'
>> ? 'Ocp-Apim-Subscription-Key' = $APIKey
>> }
PS C:\>
PS C:\> $postText = "[{ ""Text"":""I drank a <coffee> yesterday.""}]"
PS C:\> $postBody = [Text.Encoding]::UTF8.GetBytes($postText)
PS C:\> Invoke-RestMethod -Method POST -Uri $requestUri -Headers $requestHeader -Body $postBody
translations
------------
{@{text=昨日<coffee>を飲んだ。; to=ja}}
Document Details
@damochiz Thanks for the feedback. We are investigating the issue and will update you shortly.
Thanks for the feedback. I have assigned this to content author for updating the document as appropriate.@swmachan Could you please help on updating the document.
We could see the string enclosed by "<" and ">" are not translated as shown below.

Added this to our backlog for doc improvements. Thanks for the feedback @damochiz
@damochiz - Thanks for reporting this. This is actually a bug in the service that our engineering team is now investigating.
Only text within the <span translate="no"></span> should be ignored by the service.