Like “Tap to Translate” of Google's Translate on Android, once you copy the selected text, the translate button will pop up. Click the button then Google's APP will show.
The feature seems happen only on Android system, but I don't know whether iOS or macOS can do so or not. So is it possible to launch my APP after the selected text is copied on iOS or macOS system?