[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Translating web pages
- From: Boruch Baum <boruch_baum@xxxxxxx>
- Date: Thu, 12 Apr 2018 13:30:26 -0400
- X-ml-name: emacs-w3m
- X-mail-count: 12953
I don't need to do this often, but I just found an excellent and easy
way to translate web page content from emacs-w3m, using
google translate, even though normally google translate requires
javascript, so is unavailable directly from emacs-w3m.
It turns out (we should not have been surprised) that google translate
has an api that has been integrated into an emacs package called ...
google-translate, available on MELPA.
Select a region and `M-x google-translate-at-point`. Works great for me
translating English into Hebrew - perfect translation, and it handled
bidi perfectly.
This might or might not be something to try to integrate into the
project; my sense is that it would be sufficient to add the information
to the documentation. For some people, this kind of feature is
important, and since emacs-w3m doesn't handle javascript (a good thing,
IMO) to use the google translate website directly, this would be
desirable to mention.
--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0