'How to configure Microsoft Translator API to skip special text like "{0}"

I am trying to use Microsoft Translator API to translate some messages bundle. In the bundle I have text such as: Record "{0}" not found.

But the API fails with error: One of the request inputs is not valid. How do I configure the API to skip such formatting or untranslatable text ?

api


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source