MT do not translate tags
Posted: Sun Feb 25, 2024 1:16 pm
I don't believe that it is possible to mark segments not to be translated, but is it possible to configure the MT API endpoint parameters?
The Microsoft Translator parameter textType=html parameter, when set, excludes any tags with translate="no", as per https://learn.microsoft.com/en-us/azure ... ranslation
Currently Lingo lets you configure the category parameter, which could then be used for custom translations with a dictionary.
Is there a hack to add the textType=html parameter to the MT endpoint? Perhaps this could be a feature request, but I don't think I can wait that long.
The Microsoft Translator parameter textType=html parameter, when set, excludes any tags with translate="no", as per https://learn.microsoft.com/en-us/azure ... ranslation
Currently Lingo lets you configure the category parameter, which could then be used for custom translations with a dictionary.
Code: Select all
POST {Endpoint}/translate?api-version=3.0&from={from}&to={to}&textType={textType}&category={category}&profanityAction={profanityAction}&profanityMarker={profanityMarker}&includeAlignment={includeAlignment}&includeSentenceLength={includeSentenceLength}&suggestedFrom={suggestedFrom}&fromScript={fromScript}&toScript={toScript}