I have a Kindle Paperwhite which is jailbroken and has usbnet installed.
I read German books and would like to be able to have Google Translate as the second option, instead of Wikipedia, in the box that opens when I highlight a word. At the moment when I highlight a word the dictionary translates it but if the word is not in the dictionary Wikipedia opens. I would rather that Google Translate opens if the dictionary doesn't contain the word. (I know that if I press "More" and then "Translation" and then specify source and target languages I can get a translation, but that is extremely longwinded)
I saw a hack here that suggested modifying /opt/amazon/ebook/prefs/search_prefs but that file doesn't exist on the PW. This suggested another path at /usr/share/webkit-1.0/pillow/strings/search_bar_strings.js. This file exists and I altered the Wikipedia entry to http://translate.google.com/?sl=de&tl=en&q={searchTerm}. However this has made no difference to the way the search box works, it still goes to Wikipedia if the word isn:t in the dictionary.
Could anyone tell me where I'm going wrong?
One other thing. I am editing with Vi directly on the PW via ssh from a Ubuntu machine. I have tried mounting the files but I am asked for a password and none of the password suggested by the Root Password Tool work for this. How can I mount the files on a linux machine?
I read German books and would like to be able to have Google Translate as the second option, instead of Wikipedia, in the box that opens when I highlight a word. At the moment when I highlight a word the dictionary translates it but if the word is not in the dictionary Wikipedia opens. I would rather that Google Translate opens if the dictionary doesn't contain the word. (I know that if I press "More" and then "Translation" and then specify source and target languages I can get a translation, but that is extremely longwinded)
I saw a hack here that suggested modifying /opt/amazon/ebook/prefs/search_prefs but that file doesn't exist on the PW. This suggested another path at /usr/share/webkit-1.0/pillow/strings/search_bar_strings.js. This file exists and I altered the Wikipedia entry to http://translate.google.com/?sl=de&tl=en&q={searchTerm}. However this has made no difference to the way the search box works, it still goes to Wikipedia if the word isn:t in the dictionary.
Could anyone tell me where I'm going wrong?
One other thing. I am editing with Vi directly on the PW via ssh from a Ubuntu machine. I have tried mounting the files but I am asked for a password and none of the password suggested by the Root Password Tool work for this. How can I mount the files on a linux machine?