共用方式為


Microsoft Translator [DEPRECATED]

Microsoft Translator lets you translate text across multiple languages.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Standard All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Standard All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Microsoft
URL Microsoft LogicApps Support
Microsoft Power Automate Support
Microsoft Power Apps Support
Connector Metadata
Publisher Microsoft
Website https://www.microsoft.com/translator/

Migrate from Microsoft Translator to alternative operations

Reference the below table for migrating from Microsoft Translator to alternative operations.

Note

The Microsoft Translator connector has been marked as deprecated since 2020 and the underlying Translator service API was also retired in May 2021. The Microsoft Translator connector will be disabled in Power Platform on the 15th of September 2024.

If steps are not taken to migrate to alternative operations, beginning September 15th 2024 implementations using this connector will be impacted and may no longer function as expected.

Important

Before starting the migration always save a copy of your Logic App, Power Automate flow, or Power App to have a backup.

Operation type Microsoft Translator operation Alternative opertation
Action Detect language [DEPRECATED] Microsoft Translator V2 - Detect language
Action Get languages [DEPRECATED] Microsoft Translator V2 - Get languages
Action Translate text [DEPRECATED] Microsoft Translator V2 - Translate text
Action Get speech languages [DEPRECATED] Azure Text to speech - Get list of voices
Action Text to speech [DEPRECATED] Azure Text to speech - Convert text to speech

General Limits

Name Value
Connections per account 2

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Shareable

Default

Applicable: All regions

Parameters for creating connection.

This is shareable connection. If the power app is shared with another user, connection is shared as well. For more information, please see the Connectors overview for canvas apps - Power Apps | Microsoft Docs

Name Type Description Required
Subscription Key securestring Specify your subscription key for Microsoft Translator Text API, or leave it blank to use an internal shared key. If empty, your API calls will be throttled based on a fixed internal limit.

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Detect language [DEPRECATED]

This action has been deprecated. Please use Detect language instead.

Detects the source language of the given text.

Get languages [DEPRECATED]

This action has been deprecated. Please use Get languages instead.

Retrieves all languages that Microsoft Translator supports.

Get speech languages [DEPRECATED]

Retrieves the languages available for speech synthesis.

Text to speech [DEPRECATED]

Converts a given text into speech as an audio stream in wave format.

Translate text [DEPRECATED]

This action has been deprecated. Please use Translate text instead.

Translates text to a specified language using Microsoft Translator.

Detect language [DEPRECATED]

This action has been deprecated. Please use Detect language instead.

Detects the source language of the given text.

Parameters

Name Key Required Type Description
Text
query True string

The text to translate.

Returns

Language Model for Microsoft Translator translatable languages

Body
Language

Get languages [DEPRECATED]

This action has been deprecated. Please use Get languages instead.

Retrieves all languages that Microsoft Translator supports.

Returns

Get speech languages [DEPRECATED]

Retrieves the languages available for speech synthesis.

Returns

Text to speech [DEPRECATED]

Converts a given text into speech as an audio stream in wave format.

Parameters

Name Key Required Type Description
Text
query True string

The text to translate.

Language Code
language True string

Language code to generate speech (example: 'en-us').

Format
format string

The audio format to return (default is audio/wav).

Options
options string

Other options for the format (default is MinSize). Valid options are 'MinSize' or 'MaxQuality'.

Returns

Audio File
binary

Translate text [DEPRECATED]

This action has been deprecated. Please use Translate text instead.

Translates text to a specified language using Microsoft Translator.

Parameters

Name Key Required Type Description
Text
query True string

The text to translate.

Target Language
languageTo True string

The target language code (example: 'fr').

Source Language
languageFrom string

The source language (if not provided, Microsoft Translator will try to auto-detect) (example: en).

Category
category string

The translation category (default: 'general').

Content Type
contentType string

The content type (default: 'text/plain').

Returns

Translated Text
string

Definitions

Language

Language Model for Microsoft Translator translatable languages

Name Path Type Description
Language Code
Code string

Gets or sets the language code.

Language Name
Name string

Gets or sets the language name.

binary

This is the basic data type 'binary'.

string

This is the basic data type 'string'.