Hi!

On Fri, 2024-12-06 at 09:22:43 -0000, Sune Vuorela wrote:
> Though I do also think we have a hole in our dependency system here.

I think most of the needed pieces are there already though.

> if I set my system up to be in entish, I don't want to chase translation
> files all over the package system. It should somehow just happen.
> 
> This is just me writing something in a email hoping that someone else
> picks it up (this time)
> 
> Package: foo
> Recommends: foo-LANG <condition: LANG>
> 
> And then somehow tell apt how to expand LANG for all relevant languages.

Something like the following should already work:

  $ aptitude install \
      '?narrow(?narrow(~Gculture::valarin,?reverse-Recommends(~i)),!~i)'

Although of course it's not very user friendly, and it would need to
expanded to cover virtual packages for example. But I guess it could
be wrapped in some kind of l10n support helper. Or the packaging
frontends could be extended to support this with an easier to use
term.

Thanks,
Guillem

Reply via email to