![](/img/trans.png)
[英]How to translate large text using Google Cloud Translation API in Python?
[英]Using Google Translate API in Python, how do you indicate that some text is not to be translated?
在Python中使用Google Translate API,您如何指示某些文本不被翻译? 我的文字包含变量名称,例如$name$
,应保留原样。 我曾尝试将它们用引号和尖括号括起来,但到目前为止没有成功。
我刚刚发现了一些东西:
This contains <span class="notranslate">$code$</span>, which will be skipped.
有关:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.