Bug 443989 - Language change does not work
Summary: Language change does not work
Status: RESOLVED WORKSFORME
Alias: None
Product: krusader
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.7.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
: 427014 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-10-18 19:06 UTC by musefor-kde
Modified: 2025-01-04 03:47 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot Lnguage menu (59.20 KB, image/png)
2021-12-08 18:58 UTC, musefor-kde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description musefor-kde 2021-10-18 19:06:05 UTC
Hello,

I've tried to change the language to English over the menu (help -> language (or similar)), but even after a restart of Krusader there was no change.

System: Ubuntu 20.04, updated today, on a Dell notebook.

Thanks
Comment 1 musefor-kde 2021-12-08 18:58:34 UTC
Created attachment 144355 [details]
Screenshot Lnguage menu

The screenshot is showing the window for changing the language immediately after opening it and without any change of the language. No idea why the GUI is in German, while the selected language is saying that "British English" is selected. But this isn't true.
(German is the language of the Ubuntu 20.04. I've the same result with Linux Mint.)
I've restarted Krusader several times without performing a language change. So this can't be the reason.
Comment 2 Toni Asensi Esteve 2021-12-11 16:35:12 UTC
> [...] "British English" is selected. [...] German is the language of the Ubuntu 20.04. 
> I've the same result with Linux Mint. [...]

If it may help anyone:

Can you tell the result of executing `locale`?

As an experiment: 
    Is the language changed ─and Krusader works as you expect─ when executing:
        LANG=C krusader
        
        LANG=en krusader
        
        LANG=en_gb krusader
    
        LANG=en_gb.UTF-8 krusader
    ?
Comment 3 musefor-kde 2021-12-12 20:03:35 UTC
The result of 'locale' is:
LANG=de_DE.UTF-8
LANGUAGE=
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=

If using
'LANG=C krusader'
then I get a lot of warnings, but nevertheless Krusader is starting automatically in English (without any action from my side).
It seems to work well.

With 'LANG=en krusader' it's the same. But a few words are appearing in German, e.g. 'Cancel' is then shown as 'Abbrechen'.
With 'LANG=en_gb krusader' and 'LANG=en_gb.UTF-8 krusader' it's the same as with 'LANG=en krusader'.

So it seems that the first option is the best for me.
The switching to English is only important for me to follow instructions or to describe in English what's not working well.
I've performed the test only with Ubuntu 20.04, patched a few days ago.

Thanks
Comment 4 Toni Asensi Esteve 2021-12-18 19:11:54 UTC
*** Bug 427014 has been marked as a duplicate of this bug. ***
Comment 5 Nikita Melnichenko 2021-12-23 08:02:12 UTC
Help -> Switch Language is some old artifact in your ~/.local/share/kxmlgui5/krusader/krusaderui.rc, which is not refreshing due to another bug, and this will be fixed in v2.8.0.

I think Krusader should respect locale, but buttons you mentioned could come from the system-wide setting. What do you have in System Settings -> Regional Settings -> Language?
Comment 6 musefor-kde 2021-12-25 19:07:59 UTC
The settings are only for German language.
(English is additionally installed by default, but not selected.)
Comment 7 Alex Bikadorov 2024-12-05 14:18:05 UTC
Is this still an issue? The problem should be fixed in version 2.8.0 and Krusader should respect the language set in the KDE system settings.
Comment 8 Bug Janitor Service 2024-12-20 03:46:51 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Bug Janitor Service 2025-01-04 03:47:36 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.