I am learning Japanese and installed the OS in Japanese to immerse myself in the language. Sometimes I want to copy messages from windows, menus and dialog boxes so that I can look them up on the dictionary, but I cant. I saw that there there many options for doing this in Windows. Are there any similar options available for Ubuntu?
Asked
Active
Viewed 503 times
9
-
According to comments in http://apple.stackexchange.com/questions/50406/how-do-i-copy-the-text-content-of-a-dialog-box-on-os-x (about MacOS), it seems to depend on how the programmer codes the content. I couldn't find any links relating to Linux :( – DK Bose Oct 24 '15 at 05:51
1 Answers
3
Make a screenshot and use OCR
Install OCR software
sudo apt-get install tesseract-ocr sudo apt-get install tesseract-ocr-jpnInstall a GUI for
tesseractsudo apt-get install gimagereaderMake a screenshot of your desktop or of a part of your desktop
Start
gimagereaderand start the recognizionCopy the text into the right pane and translate
-
1
-
1
-
1
-
That is a lot of work and for a kludge work-around that, at best will guess what the text was. This is a useful, high priority feature. The program passes text to the dialog box, the dialog box itself should be able to regurgitatae its contents on demand. It should not have anything to do with how any software other than the dialog box was coded. I would imagine that is the Bailiwick of the DE or maybe X (im not too familiar with Linux but I have developed extensively for windows (where the feature had existed for years, then was removed, and because of a user revolt - reinstated). – flurbius Oct 30 '16 at 21:08
