Bug 362221 - Used language is platform language, but Krita thinks it has American English selected
Summary: Used language is platform language, but Krita thinks it has American English ...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 3.0 Alpha
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-25 08:42 UTC by jonatan
Modified: 2017-11-27 10:39 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jonatan 2016-04-25 08:42:31 UTC
On my Windows 7 system, Dutch is the default language.
I unzipped the krita-master-f38b47e-x64 test build, and ran it. Everything was in Dutch.

I opened the language dialog, it showed American English as current language. Applying "american english" did not have any effect, switching to "british english" gave a dialog which told me to restart Krita.

So: The language in use was Dutch, but the Dialog thought it was American English

Reproducible: Always

Steps to Reproduce:
1. Set system language to recognizably different language than american english
2. Start krita from the krita-master-f38b47e-x64 folder
3. Go to language dialog and try to choose american english


Expected Results:  
The language in the dialog should correspond to the language actually used
Comment 1 eliotJ 2016-05-18 22:19:40 UTC
Hi

Does it's also exists in Krita v2.9.11 or does it's a regression in v3.0 ?
Comment 2 Marcus Kjeldsen 2016-05-31 17:11:58 UTC
I can confirm on win 10 krita 3.0, norwegian locale, english system language.

I can get American English by first adding a fallback language, and switching them both, and then removing the fallback language (although the switch application language dialog box still retains some norwegian :D )
Comment 3 Halla Rempt 2016-05-31 17:54:47 UTC
This bug is a duplicate of another I cannot find right now; what works for me to get Krita totally in, say, Japanese, is open a cmd window, type

set LANG=ja

then go to the krita install directory and execute krita.exe.

This seems something that went totally wrong inside Qt5, and I haven't figured it out yet.
Comment 4 Halla Rempt 2017-11-27 10:39:31 UTC
Should be fixed with

commit adeeab654f993c9fdb5b891f9fe197cbedfc2623
Author: Boudewijn Rempt <boud@valdyas.org>
Date:   Mon Nov 27 10:55:49 2017 +0100

    Use name, not bcp47Name to select the language for Krita
    
    This fixes selection languages specialized for a country.
    
    BUG:38185