ekkis
ekkis

Reputation: 10226

Strange replacement behaviour (braces + parentheses)

I'm using the Azure Translator (https://www.microsoft.com/en-us/translator/translatorapi.aspx). if I translate to Swedish this string:

we {1} had it

I get back what I'd expect:

vi {1} hade det

but, most puzzlingly, this:

we {2} had it

returns this (notice the braces got translated to parentheses):

vi (2) hade det

what on earth??

Upvotes: 2

Views: 55

Answers (1)

Paul Dempsey
Paul Dempsey

Reputation: 663

It's all a matter of what the translation engine is trained on, and the prevalent typographical conventions for the languages involved. It's possible that for this (which looks like a C# format parameter), you could possibly have better results using the tech domain than the general domain.

Upvotes: 2

Related Questions