locked
Ignore key words from translations RRS feed

  • Question

  • Is there way to block certain words or abbreviations from being translated.

    if I send an entire sentence in to be translated is there a way to ignore a certain work or phrase?


    Keith Kabza

    Monday, February 9, 2015 5:12 PM

All replies

  • Hi Keith,

    you can either:

    • Build a custom MT system using a dictionary, which defines the word to be not translated, and their translation, which is the same as the source, in your case. http://hub.microsofttranslator.com. See section 3.3 of the user guide for use of dictionaries.
    • Use contentType="text/HTML" and enclose the segments not to be translated with"<span class="notranslate"></span> or just apply the class="notranslate" attribute to an existing element that encloses the non-translatable phrase. You can also use the regular HTML <code> element to enclose non-translatable phrases with. Note that contentType="text/HTML" requires complete and balanced HTML. If the source isn't balanced, the translation will be, which potentially breaks XML nesting.

    Let us know if this helps,
    Chris Wendt
    Microsoft Translator

    Monday, February 9, 2015 11:31 PM