Debian Bug report logs - #700915
simple-cdd: Should provide translations of the debconf prompt simple-cdd/profiles

version graph

Package: simple-cdd; Maintainer for simple-cdd is Simple-CDD Developers <simple-cdd-devel@lists.alioth.debian.org>; Source for simple-cdd is src:simple-cdd.

Reported by: Raphaël Hertzog <hertzog@debian.org>

Date: Tue, 19 Feb 2013 09:36:01 UTC

Severity: normal

Found in version simple-cdd/0.3.14

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Simple-CDD Developers <simple-cdd-devel@lists.alioth.debian.org>:
Bug#700915; Package simple-cdd. (Tue, 19 Feb 2013 09:36:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Raphaël Hertzog <hertzog@debian.org>:
New Bug report received and forwarded. Copy sent to Simple-CDD Developers <simple-cdd-devel@lists.alioth.debian.org>. (Tue, 19 Feb 2013 09:36:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Raphaël Hertzog <hertzog@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: simple-cdd: Should provide translations of the debconf prompt simple-cdd/profiles
Date: Tue, 19 Feb 2013 10:33:30 +0100
Package: simple-cdd
Version: 0.3.14
Severity: normal

When you opt to not preseed simple-cdd/profiles, you get an English debconf prompt.

Considering that debian-installer is very well translated, it's a bit of a
pity to get this non-translated prompt.

It should not be too difficult to setup some translation infrastructure
with po2debconf and the related tools of po-debconf.

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.7-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages simple-cdd depends on:
ii  apt-utils    0.9.7.7
ii  dctrl-tools  2.22.2
ii  debian-cd    3.1.11
ii  debootstrap  1.0.46
ii  lsb-release  4.1+Debian9
ii  python       2.7.3-4
ii  reprepro     4.12.5-1
ii  rsync        3.0.9-4
ii  wget         1.14-1

Versions of packages simple-cdd recommends:
ii  edos-debcheck                   1.0-9
ii  edos-distcheck [edos-debcheck]  1.4.2-13+b1

Versions of packages simple-cdd suggests:
ii  qemu-kvm  1.1.2+dfsg-5

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Simple-CDD Developers <simple-cdd-devel@lists.alioth.debian.org>:
Bug#700915; Package simple-cdd. (Mon, 04 Mar 2013 08:03:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vagrant Cascadian <vagrant@debian.org>:
Extra info received and forwarded to list. Copy sent to Simple-CDD Developers <simple-cdd-devel@lists.alioth.debian.org>. (Mon, 04 Mar 2013 08:03:03 GMT) Full text and rfc822 format available.

Message #10 received at 700915@bugs.debian.org (full text, mbox):

From: Vagrant Cascadian <vagrant@debian.org>
To: Raphaël Hertzog <hertzog@debian.org>, 700915@bugs.debian.org
Subject: Re: Bug#700915: simple-cdd: Should provide translations of the debconf prompt simple-cdd/profiles
Date: Sun, 3 Mar 2013 23:59:01 -0800
On Tue, Feb 19, 2013 at 10:33:30AM +0100, Raphaël Hertzog wrote:
> When you opt to not preseed simple-cdd/profiles, you get an English debconf prompt.
> 
> Considering that debian-installer is very well translated, it's a bit of a
> pity to get this non-translated prompt.

The intention was to allow this template to be edited directly... and the
assumption was if someone wanted it translated, they would supply a translated
template. I didn't think of the case where a user might want to support
multiple languages with a single built simple-cdd image.

 
> It should not be too difficult to setup some translation infrastructure
> with po2debconf and the related tools of po-debconf.

I guess we could provide the infrastructure to translate the default template,
and if they want to edit the template they lose translations, or ideally
include a mechanism to supply a customized template and .po file as well...


live well,
  vagrant



Information forwarded to debian-bugs-dist@lists.debian.org, Simple-CDD Developers <simple-cdd-devel@lists.alioth.debian.org>:
Bug#700915; Package simple-cdd. (Mon, 04 Mar 2013 08:39:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Raphael Hertzog <hertzog@debian.org>:
Extra info received and forwarded to list. Copy sent to Simple-CDD Developers <simple-cdd-devel@lists.alioth.debian.org>. (Mon, 04 Mar 2013 08:39:03 GMT) Full text and rfc822 format available.

Message #15 received at 700915@bugs.debian.org (full text, mbox):

From: Raphael Hertzog <hertzog@debian.org>
To: Vagrant Cascadian <vagrant@debian.org>
Cc: 700915@bugs.debian.org
Subject: Re: Bug#700915: simple-cdd: Should provide translations of the debconf prompt simple-cdd/profiles
Date: Mon, 4 Mar 2013 09:36:38 +0100
Hi,

On Sun, 03 Mar 2013, Vagrant Cascadian wrote:
> On Tue, Feb 19, 2013 at 10:33:30AM +0100, Raphaël Hertzog wrote:
> > When you opt to not preseed simple-cdd/profiles, you get an English debconf prompt.
> > 
> > Considering that debian-installer is very well translated, it's a bit of a
> > pity to get this non-translated prompt.
> 
> The intention was to allow this template to be edited directly... and the
> assumption was if someone wanted it translated, they would supply a translated
> template.

So the user should rebuild simple-cdd and provide an updated version via
local_packages? That was the idea?

> > It should not be too difficult to setup some translation infrastructure
> > with po2debconf and the related tools of po-debconf.
> 
> I guess we could provide the infrastructure to translate the default template,
> and if they want to edit the template they lose translations, or ideally
> include a mechanism to supply a customized template and .po file as well...

What I wonder is why you didn't put the templates at its usual place in
debian/simple-cdd-profiles.templates and then it's trivial to use the
po-debconf stuff for this.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Get the Debian Administrator's Handbook:
→ http://debian-handbook.info/get/



Information forwarded to debian-bugs-dist@lists.debian.org, Simple-CDD Developers <simple-cdd-devel@lists.alioth.debian.org>:
Bug#700915; Package simple-cdd. (Mon, 04 Mar 2013 17:30:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vagrant Cascadian <vagrant@debian.org>:
Extra info received and forwarded to list. Copy sent to Simple-CDD Developers <simple-cdd-devel@lists.alioth.debian.org>. (Mon, 04 Mar 2013 17:30:03 GMT) Full text and rfc822 format available.

Message #20 received at 700915@bugs.debian.org (full text, mbox):

From: Vagrant Cascadian <vagrant@debian.org>
To: Raphael Hertzog <hertzog@debian.org>
Cc: 700915@bugs.debian.org
Subject: Re: Bug#700915: simple-cdd: Should provide translations of the debconf prompt simple-cdd/profiles
Date: Mon, 4 Mar 2013 09:27:00 -0800
On Mon, Mar 04, 2013 at 09:36:38AM +0100, Raphael Hertzog wrote:
> On Sun, 03 Mar 2013, Vagrant Cascadian wrote:
> > On Tue, Feb 19, 2013 at 10:33:30AM +0100, Raphaël Hertzog wrote:
> > > When you opt to not preseed simple-cdd/profiles, you get an English debconf prompt.
> > > 
> > > Considering that debian-installer is very well translated, it's a bit of a
> > > pity to get this non-translated prompt.
> > 
> > The intention was to allow this template to be edited directly... and the
> > assumption was if someone wanted it translated, they would supply a translated
> > template.
> 
> So the user should rebuild simple-cdd and provide an updated version via
> local_packages? That was the idea?

No, if they include simple-cdd.templates in their working dir, it includes it
on the CD image, and loads it during run time. This allows them to edit it to
say whatever they want... but doesn't allow multiple localized templates.


> > > It should not be too difficult to setup some translation infrastructure
> > > with po2debconf and the related tools of po-debconf.
> > 
> > I guess we could provide the infrastructure to translate the default template,
> > and if they want to edit the template they lose translations, or ideally
> > include a mechanism to supply a customized template and .po file as well...
> 
> What I wonder is why you didn't put the templates at its usual place in
> debian/simple-cdd-profiles.templates and then it's trivial to use the
> po-debconf stuff for this.

What I'm realizing now, years and years after originally implementing this, is
that is probably exactly what simple-cdd should do, and then override it with a
supplied template, more or less exactly the way it is now, only with a default
that is actually translated conventionally... though I also have vague memories
of trying this...

The problem is dynamically overriding the template at run-te, as I *don't* want
people to have to build a customized simple-cdd-profiles udeb just to customize
the text for a single debconf question.


live well,
  vagrant



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Apr 21 02:04:14 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.