Bug#1054475: spyder: Fix language autoconfiguration
Samuel Thibault
sthibault at debian.org
Sat Oct 28 20:49:20 BST 2023
Julian Gilbey, le sam. 28 oct. 2023 20:06:53 +0100, a ecrit:
> On Fri, Oct 27, 2023 at 07:33:19PM +0200, Samuel Thibault wrote:
> > Control: tags -1 + fixed-upstream.
> >
> > Samuel Thibault, le mar. 24 oct. 2023 13:40:58 +0200, a ecrit:
> > > The autoconfiguration of the language is currently completely broken in
> > > spyder: when starting spyder on a e.g. french-installed Debian, spyder
> > > still displays english by default, and one has to change the language
> > > by hand. I have submitted a bug to upstream, but a very simple fix is
> > > possible for Debian to apply easily, as attached, could you apply it?
> >
> > Upstream preferred to apply the attached patch, which explicitly
> > disables these language (they are incomplete translations)
> > [...]
>
> Ah, so it is probably not worth applying this to bookworm, as these
> languages are not enabled at present in the bookworm version, and this
> patch would essentially leave them disable. Is that a correct
> understanding?
No, it is missing the point: currently, language autoconfiguration
is broken even for complete translations: even if you have a
french-installed Debian, spyder will by default show an english
interface, even if the french translation *is* complete. That is because
of a bug that is fixed by
https://github.com/spyder-ide/spyder/pull/21451/commits/7daea2051fbd28c9bf60523423366e96d68d660a
but rather than backporting that codechange which might uncover
who-knows-what bug, better apply the language list update patch:
https://github.com/spyder-ide/spyder/pull/21451/commits/28c12114299d8da8e58ee150cf1f7af1e0fd75b4
which happens to avoid the bug and let language autoconfiguration
actually work (for those languages which are not disabled due to
incompleteness).
Samuel
More information about the debian-science-maintainers
mailing list