Re: tasksel translated tasks
On Sat, Jul 26, 2003 at 10:20:27PM -0400, Joey Hess wrote:
[...]
> > After PO files are generated, debconf-updatepo can be used to update PO
> > files. There is a problem, this program does not work with #-comments,
> > so tasksel should ship a slightly modified version of this script.
> > Or I could patch debconf-updatepo if you (Joey Hess) want to allow those
> > comments in debconf templates files (of course po2debconf will then
> > remove these comments) too. As debconf-updatepo is mostly a wrapper
> > around intltool-update, I believe that the former is the best solution.
>
> Maybe you were looking at the wrong files. There are no comments in the
> debian-tasks.desc file, as they're stripped out when it's generated.
> That's the file that needs to be translated. Yes, it's rfc-822, and the
> translatable fields are Description and Task.
I looked at tasksel-1.25/tasks/* files, which seems to contain source files
generating debian-tasks.desc. IMO we have to translate these files, this
is why I talked about these comments.
> > Ddtp translations are by essence moving, so I am reluctant to provide the
> > generated PO files now, but the German file is available at
> > http://people.debian.org/~barbier/i18n/tasksel.de.po
> > for testing purpose.
> >
> > If this approach looks reasonable to everyone, next steps are:
> > a. Let the tasksel maintainer decide of a textdomain
>
> debian-tasks sounds about right to me. Or rather, I think the domain
> should match the name of the file in /usr/share/tasksel which aptitude
> or tasksel got the data from. There's a possibility that they may read
> more than one file in some customised versions of debian, and I only
> want to leave that option open.
>
> > b. Patch all tools printing tasksel descriptions to call
> > dgettext(textdomain, msgid)
> > c. Patch debconf-updatepo or let tasksel provide its own script, which
> > does not complain about #-comments.
> > d. Let the ddts provide PO files
> > e. Get PO files into tasksel and install .mo files
> > All these steps are fairly easy.
>
> I'd be happy for any help with b and e. My time for tasksel is limited
> right now.
Okay, I believe I understand the whole picture now. I'll provide patches
in few days.
Denis
Reply to: