-
-
Notifications
You must be signed in to change notification settings - Fork 0
emacsattic/text-translator
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
NOTE: Sorry. This package is not working. translates the character string on Emacs. this packages use the text translation service that exists on the Internet. * Configuration sample Put the following elisp files to your load-path directory. - text-translator.el - text-translator-vars.el - text-translator-sites.el - text-translator-window.el - text-translator-site-excite-cojp.el - text-translator-site-freetranslation-com.el - text-translator-site-fresheye-com.el - text-translator-site-google-com.el - text-translator-site-livedoor-com.el - text-translator-site-lou5-jp.el - text-translator-site-tatoeba-org.el - text-translator-site-traduku-net.el - text-translator-site-yahoo-cojp.el - text-translator-site-yahoo-com.el You can use Makefile too. $ make $ make install if you use popup.el or pos-tip.el support, you can use following command. $ make install-ext ** use autoload (require 'text-translator-load) ** use require ;;;; not autoload, use require (require 'text-translator) ** set global key (global-set-key "\C-x\M-t" 'text-translator) (global-set-key "\C-x\M-T" 'text-translator-translate-last-string) Using C-x M-t, translates the selected text by selected language. Using C-x M-T, translates the selected text by all possibility engines that can be translates in the selected language. ** use proxy Basically, configuration is unnecessary. Because text-translator use config of url library. ;; ;; if you are setting environment variables HTTP_PROXY, ;; ;; you have not to set this. ;; (setq text-translator-proxy-server "proxy.hogehoge.com") ;; (setq text-translator-proxy-port 8080) ** timeout setting for http request you can set url-queue-timeout. default value is 5 second. ;; (setq url-queue-timeout 10) ** use translation type auto selection (english/japanese only) ;; set function that use auto selection (setq text-translator-auto-selection-func 'text-translator-translate-by-auto-selection-enja) ;; set global-key (global-set-key "\C-xt" 'text-translator-translate-by-auto-selection) (global-set-key "\C-xT" 'text-translator-all-by-auto-selection) * Translation sites. - google.com - freetranslation.com - livedoor.com - fresheye.com - excite.co.jp - yahoo.co.jp (Currently not available) - lou5.jp - traduku.net * thanks # README.en ends here # Local Variables: # mode: outline # mode: auto-fill # End:
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published