google translator toolkit - how to exclude portions of the text from being processed

前端 未结 3 2106
旧时难觅i
旧时难觅i 2021-01-22 09:01

Does anybody know whether there is a possiblity to exclude portions of a text from being processed by the google translator toolkit?

A great advantage of this tool is t

3条回答
  •  攒了一身酷
    2021-01-22 09:38

    Quoting from the Google Translate FAQ ...

    How do I tell Cloud Translation API to NOT translate something?

    You can use the following HTML tags:

     
     
    

    This functionality requires the source text to be submitted in HTML.

    If it's "not working for you" a likely reason is that you requested TEXT translation not HTML translation. If you only want TEXT translation then wrapper your plan text in HTML tags (with tags as above) and then unwrap after translation.

提交回复
热议问题