Project

General

Profile

Feature #11721

What should be the default locale: user or system locale?

Added by Peter Budai 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
General
Target version:
-
Start date:
09/02/2017
Due date:
% Done:

0%

Affected Version:
git master branch
System:
Windows
bitness:
64-bit
hardware architecture:
amd64/x86

Description

If no preference was given in the darktablerc at ui_last/gui_language, the current Windows version tries to find out which locale should be used on the gui using GetUserDefaultLCID call (https://msdn.microsoft.com/en-us/library/windows/desktop/dd318135(v=vs.85).aspx).

Another option would be to use the GetSystemDefaultLCID which is not dependent on the user's settings but on the system settings (https://msdn.microsoft.com/en-us/library/windows/desktop/dd318121(v=vs.85).aspx)

Any opinion which one should be used?

History

#1 Updated by Tobias Ellinghaus 3 months ago

I'd stick to the user settings as those can be changed by the user. So it's fair to assume that those represent what the user wants to have. The system wide setting might not.

#2 Updated by Peter Budai 3 months ago

I agree, but we have cases when the user has an English OS, with Finnish keyboard and locale. dt starts in Finnish in those cases...
What if we make it an option in the installer the language selection? It might actually work, but I have never tried before.

#3 Updated by Tobias Ellinghaus 3 months ago

What language setting does Windows itself use? Does it really show up in English when the user settings are set to Finnish? :-O
That being said, I have on my TODO list a point to bring back and fix a prefs setting for selecting the language from within dt.

Also available in: Atom PDF