Thanks for your answer.This question has nothing to do with MacroDroid.
Change the settings, copy it, and tap the floating icon to have it translated.
But it's offline and doesn't support as source language auto detectionMacroDroid has a text translation action