Control: tags -1 + fixed-upstream. Hello,
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) Samuel > I'd argue that it would be very useful to upload it to bookworm too. > It's hard to convince our thousands of students that spyder is a good > IDE, when it's not even able to automatically speak their language.
commit 28c12114299d8da8e58ee150cf1f7af1e0fd75b4 Author: Samuel Thibault <samuel.thiba...@ens-lyon.org> Date: Tue Oct 24 13:05:45 2023 +0200 Fix language autoconfiguration for fa, hr, te, uk Addition to LANGUAGE_CODES and DISABLED_LANGUAGES was missed. diff --git a/spyder/config/base.py b/spyder/config/base.py index a10bbec7f..1f64cb1cb 100644 --- a/spyder/config/base.py +++ b/spyder/config/base.py @@ -360,11 +360,15 @@ def is_py2exe_or_cx_Freeze(): 'zh_CN': u'简体中文', 'ja': u'日本語', 'de': u'Deutsch', - 'pl': u'Polski' + 'pl': u'Polski', + 'fa': u'Persian', + 'hr': u'Croatian', + 'te': u'Telugu', + 'uk': u'Ukrainian', } # Disabled languages because their translations are outdated or incomplete -DISABLED_LANGUAGES = ['hu', 'pl'] +DISABLED_LANGUAGES = ['fa', 'hr', 'hu', 'pl', 'te', 'uk'] def get_available_translations():