Using Google Translate API in Python, how do you indicate that some text is not to be translated? The text I have includes variable names eg $name$
that should be left as is. I've tried wrapping these in quotes and angled brackets, but no success so far.
I just found something:
This contains <span class="notranslate">$code$</span>, which will be skipped.
Related:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.