Comments (5)
After re-reading several times, I think I decoded what this was trying to say is that you apply the markup to the word or phrase for which you want to provide a fixed translation. This is somewhat parallel to the mechanism for "Do not translate": <div class="notranslate">
untranslatable-text</div>
, which unfortunately, and inconsistently, is apparently only usable in text/html and text/xml.
from azure-docs.
@Paul-Dempsey Thanks for the feedback! I have assigned this issue to the author who can work on making the content easier to understand.
from azure-docs.
Is there any movement on this? I am using python and submitting a json in a similar way to this example.
from azure-docs.
Combining the instructions here with the python examples with the following input
text = "Instant dictionary: word <mstrans:dictionary translation=\"wordomatic\">word or phrase</mstrans:dictionary> is a dictionary entry."
gives the following output:
[
{
"translations": [
{
"text": "Instant Dictionary Word wordomatic ist ein Wörterbucheintrag.",
"to": "de"
}
]
}
]
Somehow everything before the tagged word is not translated.
However, translating text = "Instant dictionary: word"
returns:
{"translations": [{"text": "Instant Dictionary: Word","to": "de"}]}
Whereas translating text = "Instant dictionary word"
returns:
{"translations": [{"text": "Instant Wörterbuchwort","to": "de"}]}
What is the problem with "word"
and ":"
?
How do these words and characters change the way the translation API works?
Why are these words and characters used in an example?
from azure-docs.
#please-close
from azure-docs.
Related Issues (20)
- J HOT 1
- ANF Mount Configuration for SAPHANA HOT 1
- az afd origin create "--enabled-state" documentation issue HOT 1
- Please update the directions. HOT 2
- Typo on page - missing space after comma HOT 2
- V1 and V2 Python code examples for blob bindings don't match HOT 1
- The ServiceInfo field does not exist in Azure cost details fields. Perhaps it should be ServiceInfo1? HOT 2
- Documentation on secure input attribute is wrong. HOT 2
- Powershell commands to verify the current status of MacSec in HOT 1
- Restrictions Not Displayed in 'Default Value' Section HOT 1
- AzureCognitiveSearchChatExtensionConfiguration should be replaced with AzureSearchChatExtensionConfiguration HOT 1
- Shared Key Option is removed from Virtual Network Gateway Connection in Azure Portal HOT 2
- MaxConcurrentCallsPerSession in Host.json sample - should show all values. HOT 1
- Is the steps to find the billing account id accurate? HOT 1
- Defender for Office missing HOT 1
- Ruzulgu HOT 2
- Title states preview, but capability is GA HOT 2
- SKU differences and requirements not clear from documentation HOT 3
- Canceling Single to Flex server Migration Drops Data From Target Server which contradicts docs HOT 5
- Include precisely what we deploy on the customer's sql server HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-docs.