Copy text from any screenshot area, then translate
This 24-second video shows Copy text and Translate in FavTray, a Mac menu bar app for developers. Copy text from any area, read on your Mac with code indentation kept, then translate it in the Copied text panel. A code sample in a video becomes text with Copy text: recognised on the Mac, five lines with their indentation, pasted into Xcode. Then a Japanese error page goes to the Copied text panel, where Translate shows the English beside the original, on macOS 15 and later.
Read more on the Copy text and Translate page, or see what’s free and what’s in Pro.