From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: stardiviner Newsgroups: gmane.emacs.help Subject: Re: Emacs as a translator's tool Date: Fri, 29 May 2020 14:21:56 +0800 Message-ID: <87tuzzp8fv.fsf@gmail.com> References: <871rn35lqc.fsf@mbork.pl> Reply-To: numbchild@gmail.com Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="129527"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4; emacs 28.0.50 Cc: help-gnu-emacs@gnu.org To: Marcin Borkowski Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 29 08:22:32 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jeYPY-000XbN-Ds for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 29 May 2020 08:22:32 +0200 Original-Received: from localhost ([::1]:33186 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jeYPX-0006pi-FL for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 29 May 2020 02:22:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jeYP8-0006pQ-AM for help-gnu-emacs@gnu.org; Fri, 29 May 2020 02:22:06 -0400 Original-Received: from [183.249.132.153] (port=1285 helo=localhost) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jeYP7-00070J-0I for help-gnu-emacs@gnu.org; Fri, 29 May 2020 02:22:06 -0400 Original-Received: by localhost (Postfix, from userid 1000) id B26A92421FF; Fri, 29 May 2020 14:21:56 +0800 (CST) In-reply-to: <871rn35lqc.fsf@mbork.pl> X-Host-Lookup-Failed: Reverse DNS lookup failed for 183.249.132.153 (deferred) Received-SPF: softfail client-ip=183.249.132.153; envelope-from=numbchild@gmail.com; helo=localhost X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/29 02:16:28 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: 53 X-Spam_score: 5.3 X-Spam_bar: +++++ X-Spam_report: (5.3 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, FSL_HELO_NON_FQDN_1=0.001, HELO_LOCALHOST=3.828, NML_ADSP_CUSTOM_MED=0.9, RDNS_NONE=0.793, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: reject X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123158 Archived-At: =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 If you're using Org Mode, then I'm trying to write an extension based on Org Babel and google-translate to generate translated results. Here is my ob-translate repo: https://github.com/stardiviner/ob-translate Also, some links which might helpful for you. =2D - https://github.com/atykhonov/google-translate =2D - http://github.com/juergenhoetzel/babel =2D - https://github.com/liShiZhensPi/baidu-translate =2D - https://github.com/jcs-elpa/define-it Marcin Borkowski writes: > Hi all, > > does anyone here perform translations within Emacs? Do you know of any > tools facilitating that? There exist a few CATs, or Computer Aided > Translation systems, but - AFAIK - they are all proprietary and closed > source. Emacs seems capable of implementing at least a simple CAT, but > I could not find any existing solutions for that. (I skimmed through > the answers here: > https://www.reddit.com/r/emacs/comments/a35bs2/emacs_for_translations/, > but did not find anything useful.) > > The first thing I would need is a way to highlight the "currently > translated sentence" in the other window, where I would keep the > original text, with an easy way to highlight the next/previous one - > this seems very easy to do, but did anyone actually code anything like > this? > > TIA, =2D --=20 [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 =20=20=20=20=20=20 =2D----BEGIN PGP SIGNATURE----- iQFIBAEBCAAyFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAl7QqgQUHG51bWJjaGls ZEBnbWFpbC5jb20ACgkQG13xyVromsMEQAgAu7XSOd5MK+quzPWRQ5OxyKJ73Mx5 57jfm3j7Eo5UVlZEJyXt6LPoh1g82ORUGhhREADD2Q63/BjX3xwKPKhhSKLwZidl EdkA+NmqAyFeXb/85nmIF4UTYxkcJQyCYXwBuiHi1Dx8CojBysi4m7w+xDzPGwwC Q/9EBdVapnqRzILwMHqV8HMZddtaWbaLYcBMB2BRE3y/GyaTtvB85aPWyDufMLTP 3XMde6NxguJvJ7fGdy0n6QTEvYDT2QvxecWWLEL349jwkviiarlClf8HEn+ICPqz OVG+Fg2y9k3XAUg27JV3tpm/OrF7v3/E8cc0k6NzUdvFmLft/wn4m0ENAA=3D=3D =3Dlwdy =2D----END PGP SIGNATURE-----