[Amavisd-new-debian-devel] the debian l10n template feature

Alexander Wirt formorer at formorer.de
Tue Aug 9 20:06:51 UTC 2011


Harald Jenny schrieb am Tuesday, den 09. August 2011:

> On Tue, Aug 09, 2011 at 09:46:57PM +0200, Alexander Wirt wrote:
> > Henrique de Moraes Holschuh schrieb am Tuesday, den 09. August 2011:
> > 
> > > On Tue, 09 Aug 2011, Alexander Wirt wrote:
> > > > during the work on 2.7.0 I again stumbled about the feature of
> > > > /etc/amavis/<lang>/. I would have to provide a patch for 2.7.0 for getting
> > > > the feature working again, as there are several new templates in the code.
> > > > Additionally I have to say that I dislike that diverging from upstream thingy
> > > > as it is error proven.
> > > 
> > > We implemented it before upstream did, I think.  That caused the divergence.
> > > 
> > > > I am not sure if somebody is really using that "feature", so I would opt in
> > > > removing it. Any oppinions here?
> > > 
> > > I used to ship pt_BR translations in the package, and our l10n team could
> > > translate the templates if we asked them to and made them aware of the
> > > templates (since they're not gettext/autopoint stuff).  The lang/ way of
> > > doing things used to make it MUCH easier to handle l10n updates.
> > > 
> > > But I certainly don't object to switching to whatever upstream does in
> > > 2.7.0, as long as it doesn't make it impossible to deal with when you
> > > actually use it or distribute l10n files.
> > > 
> > > l10n'd notifications are a killer feture.
> > unfortunatly there is no real solution inside amavisd. Just the l10n snippet
> > from debian. Marc added several templates over the last years but he didn't
> > updated that l10n snippet so not every of the template can be accessed via
> > the l10n version.
> > 
> > So it seems I have to deal with that patch, update it and give marc a patch.
> 
> As our company also uses the l10 feature I would be more that willing to help
> you with this work - how can I help you?
Get extract-upstream-en_US-templates.pl (should be done) in sync with the
template in __DATA__ and sub read_l10n_templates($;$) from amavisd. All
templates should get extracted with useful names and amavisd should catch
them up in read_l10n_templates. If this is done create a patch a forward it
to the amavis mailinglist.

Alex




More information about the Amavisd-new-debian-devel mailing list