all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Takesi Ayanokoji <ayanokoji.takesi@gmail.com>
To: Marcin Borkowski <mbork@mbork.pl>
Cc: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Emacs as a translator's tool
Date: Fri, 29 May 2020 23:28:20 +0900	[thread overview]
Message-ID: <CAN7Wbiaqp_Ni9q7+HNPudY+MJH1u-evjRo93gnc9a2=4Xhz0Dw@mail.gmail.com> (raw)
In-Reply-To: <871rn35lqc.fsf@mbork.pl>

Hi,Marcin

> does anyone here perform translations within Emacs?

I am translating Emacs' info manuals using Emacs' po-mode and Po4a program.

--- "Why Po4a?" starts here.

I use PO format as translation memory because it is major format for *nix
i18n nowadays.

PO format is used gettext's tool-chain programs, but some tools in gettext
is limited for translating messages in various program sources.

These tools process source files includes messages convert/reflect to/from
translation memories.

For this reason, I use Po4a tools for generating po files from files
written in various  formats, and vise versa.

--- "Why Po4a?" ends here.

> 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

In the po-mode, strings are highlighted "currently processing msgid".

Msgid is strings before translating.
These strings' range (sentence, paragraph, page, ...) is defined by Po4a
when extracting from original document files, and Po4a semms define msgid
as a paragraph.

For example, belows are 'Anti news' in Emacs manual before and after
translating.

before:
https://raw.githubusercontent.com/ayatakesi/emacs-24.5-doc-emacs/d826fbbb960688a04f46cec4e8e0131d2c39e218/anti.texi.po

after:
https://raw.githubusercontent.com/ayatakesi/emacs-24.5-doc-emacs/b0506307007fc3d36e8168c2f84bd125e97484fe/anti.texi.po

And in po4a, there are many commands operates on a msgid/msgstr.

Best,


  parent reply	other threads:[~2020-05-29 14:28 UTC|newest]

Thread overview: 146+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-29  5:55 Emacs as a translator's tool Marcin Borkowski
2020-05-29  6:21 ` stardiviner
2020-05-29  6:35 ` Marcin Borkowski
2020-05-29  8:14   ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-29  8:29     ` Yuri Khan
2020-05-29  8:35       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-29  9:59         ` tomas
2020-05-29 10:44           ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-29 11:34             ` tomas
2020-05-29 11:51               ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-29 12:02                 ` Jean-Christophe Helary
2020-05-30  1:33                   ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-30  3:12                     ` Jean-Christophe Helary
2020-06-05  6:43                       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-05  7:35                         ` Jean-Christophe Helary
2020-06-05  7:55                           ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-05  8:14                             ` Jean-Christophe Helary
2020-06-05 17:32                             ` Marcin Borkowski
2020-06-05 17:47                               ` Yuri Khan
2020-06-06  8:00                                 ` Marcin Borkowski
2020-06-05 23:23                               ` Jean-Christophe Helary
2020-05-31  5:14                 ` Marcin Borkowski
2020-06-01  8:53                   ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-01  8:26         ` Steinar Bang
2020-06-01  8:33           ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-29 17:39       ` Eric Abrahamsen
2020-05-29 17:58         ` Jean-Christophe Helary
2020-05-29 18:22           ` Eric Abrahamsen
2020-05-30  3:20             ` Jean-Christophe Helary
2020-05-30  6:24               ` Eli Zaretskii
2020-05-30  6:36                 ` Jean-Christophe Helary
2020-05-30 16:46               ` Eric Abrahamsen
2020-09-17 15:16             ` Eric Abrahamsen
2020-09-17 15:36               ` Arthur Miller
2020-09-17 16:03                 ` Eric Abrahamsen
2020-09-17 18:14                   ` arthur miller
2020-09-17 18:27                     ` Eric Abrahamsen
2020-09-17 19:44                       ` arthur miller
2020-09-17 20:42                         ` Eric Abrahamsen
2020-09-18 17:36                           ` Sv: " arthur miller
2020-09-18 18:26                         ` Arthur Miller
2020-09-18 19:08                           ` Eric Abrahamsen
2020-09-18 20:02                             ` Arthur Miller
2020-09-18 20:17                               ` Eric Abrahamsen
2020-09-18 20:47                                 ` Arthur Miller
2020-09-18 21:23                                   ` tomas
2020-09-18 22:57                                     ` Arthur Miller
2020-09-19  7:32                                       ` tomas
2020-09-18 21:26                                   ` Eric Abrahamsen
2020-09-18 23:05                               ` Arthur Miller
2020-09-18 23:39                                 ` Eric Abrahamsen
2021-12-20  7:00               ` Marcin Borkowski
2021-12-20 19:31                 ` Eric Abrahamsen
2021-12-21  8:31                   ` Kevin Vigouroux via Users list for the GNU Emacs text editor
2021-12-21  8:40                     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-21 17:41                     ` Eric Abrahamsen
2021-12-21 19:37                       ` Kevin Vigouroux via Users list for the GNU Emacs text editor
2021-12-21 20:22                         ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-22  7:14                           ` Kevin Vigouroux via Users list for the GNU Emacs text editor
2021-12-22 18:36                             ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-21 23:58                         ` Jean-Christophe Helary
2021-12-22  7:36                           ` Kevin Vigouroux via Users list for the GNU Emacs text editor
2021-12-22  6:46                       ` Marcin Borkowski
2021-12-22 17:50                         ` Eric Abrahamsen
2021-12-22 18:48                           ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-22 19:09                             ` Eric Abrahamsen
2021-12-22 19:20                               ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-22 19:22                               ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-22 20:24                                 ` Eric Abrahamsen
2021-12-23 17:57                             ` Marcin Borkowski
2021-12-23 21:59                               ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-28 16:22                                 ` Marcin Borkowski
2021-12-22 18:52                           ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-23 17:44                           ` Marcin Borkowski
2021-12-22 18:41                         ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-29  8:41     ` Jean-Christophe Helary
2020-05-29  8:43       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-29  9:28         ` Jean-Christophe Helary
2020-05-29 10:40           ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-31  5:09     ` Marcin Borkowski
2020-06-01  8:51       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-04 19:47         ` Marcin Borkowski
2020-06-05  0:43           ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-05  0:49             ` Jean-Christophe Helary
2020-06-05  1:08               ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-05  2:58                 ` Jean-Christophe Helary
2020-06-05  3:15                   ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-05  4:21                     ` Jean-Christophe Helary
2020-06-05 10:46                     ` Marcin Borkowski
2020-06-05 12:11                       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-05 17:19             ` Marcin Borkowski
2020-06-07 21:15               ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-07 21:37                 ` Eric Abrahamsen
2020-06-07 21:55                   ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-07 22:24                     ` Eric Abrahamsen
2020-06-07 22:30                       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-08  6:04                 ` Marcin Borkowski
2020-06-08  6:30                   ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-08 11:59                     ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-08 12:15                       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-08 12:34                         ` Jean-Christophe Helary
2020-06-09 21:13                           ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-09 23:28                             ` Jean-Christophe Helary
2020-06-10  0:12                               ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-10  3:21                                 ` Jean-Christophe Helary
2020-06-10  1:39                               ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-10  3:28                                 ` Jean-Christophe Helary
2020-06-10  3:47                                   ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-10  3:57                                     ` Jean-Christophe Helary
2020-06-10  4:13                                       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-10  6:19                                         ` Jean-Christophe Helary
2020-06-10 11:49                                           ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-10 13:39                                             ` Jean-Christophe Helary
2020-06-10 15:33                                               ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-08 19:45                     ` Marcin Borkowski
2020-06-08 20:44                       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-09 19:32                         ` Marcin Borkowski
2020-06-09 20:54                           ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-10  2:03                             ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-10 13:35                             ` tomas
2020-06-10 13:38                               ` tomas
2020-06-10 15:27                                 ` recentering another window (was: Re: Emacs as a translator's tool) Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-10 20:56                             ` Emacs as a translator's tool Marcin Borkowski
2020-06-10 21:28                               ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-12 19:46                                 ` Marcin Borkowski
2020-06-12 22:02                                   ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-12 22:23                                     ` Marcin Borkowski
2020-06-19 13:46                                       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-19 13:51                                         ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-10 21:29                               ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-09 21:03                           ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-06-10  1:02                           ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-29  6:39 ` MENGUAL Jean-Philippe
2020-05-29  8:22   ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-29  8:29   ` Marcin Borkowski
2020-05-29  6:57 ` Jean-Christophe Helary
2020-05-29  8:03   ` Jean-Christophe Helary
2020-05-29  8:30     ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-29  8:26   ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-29 14:28 ` Takesi Ayanokoji [this message]
2020-05-29 15:02 ` Giovanni Bono
2020-05-29 22:48   ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-30  6:20     ` Giovanni Bono
2020-06-01  8:39       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-05-31  5:17   ` Marcin Borkowski
2020-05-31  6:58     ` Giovanni Bono

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAN7Wbiaqp_Ni9q7+HNPudY+MJH1u-evjRo93gnc9a2=4Xhz0Dw@mail.gmail.com' \
    --to=ayanokoji.takesi@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=mbork@mbork.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.