Re: Translations workflow

Marek Laane <[email protected]> Wed, 11 May 2011 20:54:12 +0300
Newsgroups gmane.linux.mandrake.cooker.internationalization
Message-ID <[email protected]>
2011/5/11 Jean-Philippe Braun <jpbraun-4qZELD6FgxhWk0Htik3J/[email protected]>

> Le mercredi 11 mai 2011 à 20:35 +0300, Marek Laane a écrit :
>
> >
> >         Yep I forgot to talk about that
> >
> >         I understand that throwing away the history of translators is
> >         not nice.
> >
> >         Actually what does basically Transifex when it export a PO
> >         file, it
> >         takes the source language file (usually an english POT file)
> >         and fill
> >         the msgstr "" strings with the corresponding language you want
> >         to
> >         export. So the template and the comments you get in the PO
> >         file are the
> >         ones of the POT file
> >
> >         We can't include the history of all translators for all
> >         languages in the
> >         POT file because it is not sure that the POT file will be
> >         included in
> >         the rpm package and usually when the developpers generate a
> >         POT file the
> >         old one is deleted. So we can't keep the history here.
> >
> >         With the VSC integration I've proposed, my solution would be
> >         to store
> >         the history of translators for each resource for each
> >         language. So when
> >         a commit needs to be done, we take the PO from transifex and
> >         append the
> >         history to the begining of the file before comiting the file
> >         in the svn.
> >         With that approach the history could be also updated
> >         automatically as we
> >         know who has done what in transifex. So adding a user name +
> >         email +
> >         date to the history should be doable
> >
> >         JP
> >
> > That would be also nice, especially if it can be done automatically.
> > The alternative I thought was not to record it in POT but PO-file -
> > I'm not sure if it is so in case of Transifex but often POT file has
> > string "Translator information" or smth like that which the translator
> > should "translate" with his/her name and email address. But yes, it
> > assumes all possible translators should remember to add them in that
> > string...
> >
> >
> > Marek Laane
> >
> >
>
> Yes but not all PO files, it depends on the software
>
> There is also standard PO headers like :
> "Last-Translator: Grégoire Colbert\n"
> "Language-Team: Esperanto <[email protected]\n"
>
> But this ones are filled by Transifex automatically and not very
> suitable to put the history in it
>
>
> Yes, I know. For example, in KDE almost every file has such string but in
Mandriva only drakconf (it has some justification, of course, as it is
"mother" of all other modules). So for my proposal there should be such
string in every file and after coordinator has added previous translators,
all future translators should remember to add themselves, Your proposal is
naturally more convenient.

Marek Laane