Bug 478550

Summary: localization - main language settings are not used (can't change from German to US-English)
Product: [Applications] digikam Reporter: Germo <bugs.kde.org>
Component: Usability-i18nAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 8.3.0   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In: 8.3.0
Sentry Crash Report:
Attachments: language settings
GUI will not switch to German

Description Germo 2023-12-15 11:58:36 UTC
Created attachment 164187 [details]
language settings

SUMMARY

After upgrading from 8.2.0 to 8.3.0 the settings of the main language have no effect. The windows language is used but not the language from settings.

STEPS TO REPRODUCE
1. use a German Windows, upgrade from 8.2.0 to 8.3.0 
2. try to change the main language
3. restart and try whatever

OBSERVED RESULT

main language doesn't change

EXPECTED RESULT

main language should change as in 8.2.0

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 caulier.gilles 2023-12-15 12:04:06 UTC
See this report :

https://bugs.kde.org/show_bug.cgi?id=478541

Gilles Caulier
Comment 2 Germo 2023-12-15 13:00:31 UTC
The other https://bugs.kde.org/show_bug.cgi?id=478541 was also reported by me, but is something very different.

I try to be more clear:

When I installed 8.2.0 then digiKam settings worked fine. It was possible to change the main language and the settings have been applied.

After upgrading to 8.3.0 (the beta or pre-realease digiKam-8.3.0-20231214T211706-Win64.exe) the main language settings have no effect. They are just ignored. It is not possible to switch the GUI to English.

But I want to switch to English, because most documentation and help is in English, and therefore it is easier to use the program in English.
Comment 3 Germo 2023-12-15 13:05:11 UTC
Created attachment 164190 [details]
GUI will not switch to German

Here is a screenshot. Settings are US-English, but GUI will not change. Restart of the program doesn't switch.
Comment 4 Maik Qualmann 2023-12-16 07:34:07 UTC
Git commit 6a8923a38ab1e91997f4fc35b8be45ebdf988676 by Maik Qualmann.
Committed on 16/12/2023 at 08:33.
Pushed by mqualmann into branch 'master'.

add debug to output the set locale
Related: bug 478084

M  +4    -0    core/app/utils/digikam_globals_bundles.cpp

https://invent.kde.org/graphics/digikam/-/commit/6a8923a38ab1e91997f4fc35b8be45ebdf988676
Comment 5 Maik Qualmann 2023-12-16 21:47:02 UTC
Git commit 450573361ed3b377eec06d11aef72e61d8ebc561 by Maik Qualmann.
Committed on 16/12/2023 at 22:44.
Pushed by mqualmann into branch 'master'.

try to fix the loading of the set language
Related: bug 478084

M  +12   -4    core/app/utils/digikam_globals_bundles.cpp

https://invent.kde.org/graphics/digikam/-/commit/450573361ed3b377eec06d11aef72e61d8ebc561
Comment 6 Maik Qualmann 2023-12-19 17:38:49 UTC
Git commit be044f9d2bd9daace2fa3be40ff6cc4cb1af2261 by Maik Qualmann.
Committed on 19/12/2023 at 18:37.
Pushed by mqualmann into branch 'master'.

remove language debug code
FIXED-IN: 8.3.0

M  +1    -1    NEWS
M  +3    -11   core/app/utils/digikam_globals_bundles.cpp

https://invent.kde.org/graphics/digikam/-/commit/be044f9d2bd9daace2fa3be40ff6cc4cb1af2261