Text translation

Updated at:

Marco MT is a large language model from Aidge, fine-tuned for e-commerce and preference-aligned for translation tasks. For details, see Concepts › Marco MT.

Overview

Marco MT is an e-commerce translation model trained on over one billion high-quality bilingual sentence pairs and is continuously optimized for e-commerce-specific terminology, such as brands, models, materials, and attributes. It supports translation between more than 400 language directions (including bridged translation), focusing on Chinese-English, Chinese-to-multilingual, and English-to-multilingual pairs. It also supports language detection for 31 languages in query phrases and 35 languages in general-purpose text. If you do not specify a source language, the service automatically detects it.

Use cases

  • Product titles: Accurately translate phrases, keywords, and trending terms in titles into the target language to improve product exposure on e-commerce platforms.

  • Product descriptions: Descriptions tend to be long and use diverse, complex formatting. The model supports long-text translation and HTML format, and delivers excellent translation quality while preserving formatting.

  • Product attributes: Attribute terms are typically short and often include e-commerce-specific terms such as models and parameters.

  • Customer service conversations: The model can handle issues such as missing context and typos, and supports polite expressions in some language pairs.

Marco MT can also be used for general-purpose translation in scenarios such as office work, meetings, and daily conversations.

Features

  • Supported languages: Translate text between more than 400 language directions, and perform language detection for 31 languages in query phrases and 35 in general-purpose text. For details, see Supported languages.

  • Extremely low hallucination rate and high-speed inference: As a large language model preference-aligned for translation tasks, it offers faster inference and an extremely low hallucination rate compared to general-purpose large language models. This makes it ideal for large-scale API calls.

  • Supported text formats: Supports text and html formats.

  • Translation intervention: Customize translation results to protect brand names and other terms. You can specify terms to be left untranslated (ABC to ABC), translated to a specific term (ABC to DEF), or removed (ABC to empty). To apply these rules, pass the corresponding glossary ID with your request. You can typically upload up to 100,000 terms to a glossary. If you need a larger capacity, contact technical support.

Translation quality comparison

Source text

Aidge translation

Other translation product 1

Other translation product 2

Aidge advantage

75mm 4Pin 0.38A GA81S2U 12V GTX 960 Cooling Fan for Zotac GTX960 Graphics Card Cooling Fan

75mm 4Pin 0.38A GA81S2U 12V GTX 960, ventilador de enfriamiento para tarjeta gráfica Zotac GTX960.

Ventilador de refrigeración de 75mm 4Pin 0.38A GA81S2U 12V para la tarjeta gráfica Zotac GTX960 Ventilador de enfriamiento GTX 960.

Ventilador de refrigeración para tarjeta gráfica Zotac GTX960, 75mm, 4 pines, 0,38A, GA81S2U, 12V, GTX 960

Identifies the main product more clearly.

New Arrival Classic Style Luxury Brand 6 Hands Swiss Automatic Mechanical Men's Business Steel Watch

Nueva llegada, reloj mecánico automático de lujo con 6 manecillas, estilo clásico, de acero para hombres de negocios

Nueva Llegada Reloj De Acero de Negocios para Hombre con Mecanismo Automático Suizo y 6 Agujas de Estilo Clásico de Marca de Lujo.

Reloj de acero de negocios para hombre, mecánico automático suizo, marca de lujo, estilo clásico, 6 manos, nueva llegada

Features a more complete sentence structure, clearer wording, and more natural phrasing.

Men Key Bag Genuine Cow Leather Buckets Key Cases Pouch Zipper Keychain Auto Car Key Case Women Home Key Holder Wallet

Sac à clés pour hommes en cuir de vache véritable, étuis à clés, pochette à fermeture éclair, porte-clés, étui à clé de voiture, porte-clés pour femmes, organisateur de portefeuille

Porte-clés sac en cuir de vache véritable, étuis à clés en forme de seau, pochette à fermeture éclair, porte-clés auto pour voiture, étui à clés pour femmes, organisateur de clés de maison, portefeuille.

Hommes porte-clés en cuir de vache véritable sac/pochette fermeture éclair porte-clés Auto voiture porte-clés femmes maison porte-clés organisateur portefeuille

Clearly identifies the product as a "key bag," avoiding the ambiguity of "keychain" present in other translations.

Quick start

Request parameters

Parameter

Type

Required

Description

SourceTextList

List<String>

Yes

An array of text to translate. The total character count must not exceed 50,000, and the array must contain 50 or fewer elements.

TargetLanguage

String

Yes

The target language code. For details, see Supported languages.

SourceLanguage

String

No

The source language code. If this parameter is omitted, the service automatically detects the language.

FormatType

String

No

The format of the source text. Valid values are text (default) and html.

Glossary

String

No

The glossary ID. You must create the glossary in the console first and then provide its ID in the request. If this parameter is omitted, no translation intervention is applied.

Example: "glossary_1"

Using HTML format

Set FormatType to html to preserve HTML tags during translation. Wrap content that you do not want to translate, such as brand names and product models, in <span translate="no">...</span> tags.

Response fields

Field

Type

Description

Code

String

The business status code. A value of success indicates a successful request.

Message

String

The response message. If the request is successful, the value is Success.

Success

Boolean

Indicates whether the request was successful: true indicates success, and false indicates failure.

RequestId

String

The unique identifier for the request.

Data.Translations

Array

An array of translation results corresponding to the elements in the SourceTextList array.

Data.Translations[].TranslatedText

String

The translated text for the corresponding input element.

Data.Translations[].DetectedLanguage

String

The detected source language code. This field is returned only when the SourceLanguage parameter is omitted.

Data.Translations[].Characters

Number

The number of billable characters for this text entry.

Data.UsageMap.InputCharacterCount

String

The total number of input characters in the request, used for billing reconciliation.

Supported languages

Text translation supports over 400 translation directions, covering 156 languages. This includes bridged translation, where Traditional Chinese (zh-tw) is bridged through Simplified Chinese (zh). The service also supports language detection for 31 languages in query phrases and 35 languages in general-purpose text. For a complete list of translation directions, supported languages for detection, and their corresponding codes, see Language mapping.

Error codes

Common error codes: InvalidParameter (Invalid parameter, such as an unsupported language code or excessive length), InputContentBlocked (The input triggered a content security review), FreeQuotaExhausted (The free trial quota is exhausted), DownstreamUnavailable (The downstream model is unavailable), Throttling (HTTP 429 throttling. Exponential backoff is required.), InternalError (The system is busy). For a complete list of error codes, see Error codes.

Limitations

  • Call mode: Synchronous.

  • The maximum API response time is 30 seconds. We recommend setting the request timeout to 30 seconds or longer.

  • Maximum total characters per request: 50,000.

  • Maximum number of text entries per request: 50.

  • Billing: ¥50 per million characters, metered by the number of characters returned in Translations[].Characters. For more information, see Billing for translation services.

  • To increase your QPS quota, contact technical support.