Is there a way to make part of a sentence not translatable during machine translation?

In Google Cloud Translate, there is a way to make a no translate class like this Press <span translate='no'>Help</span> button for help. When using transformers to perform machine translation, is there a way to mark sections so that they don’t get translated in the output?