iOS does something similar, but you take a screenshot and it translates all the text in the image. Just tap on the preview in the bottom corner, click the select all text button, then it should show a translate button. If there’s not enough foreign language then you have to manually highlight and hit translate. That part is annoying.