Open VorpalBlade opened 3 years ago
Yes, true, RawTherapee only checks for LANG, see https://github.com/Beep6581/RawTherapee/blob/dev/rtgui/multilangmgr.cc#L142-L153 and https://github.com/Beep6581/RawTherapee/blob/dev/rtgui/multilangmgr.cc#L252-L258
Correct behavior would be to check for LC_ALL first, then for LC_MESSAGES and fallback to LANG if neither LC_ALL nor LC_MESSAGES exist.
NB: The decimal separator is forced to dot regardless the local.
Short description On Linux the LANG, LC_MESSAGES etc environment variables determine locale settings to be used. It appears rawtherapee only uses LANG. The correct behaviour is that:
However, rawtherapee completely ignores LC_MESSAGES and just uses LANG instead for the text in the GUI. I have not checked if this also applies to LC_NUMERIC, LC_TIME etc (this could affect things like the decimal separator).
Steps to reproduce
Expected behavior The various locale environment variables should be respected so that people who prefers an English GUI but other things (such as time & date formatting, decimal separators etc) in their native locale get the correct experience.
Additional information
Linux desktop 5.14.7-arch1-1 #2 SMP PREEMPT Thu, 23 Sep 2021 12:28:23 +0000 x86_64 GNU/Linux
Screenshot showing program being translated when it shouldn't be: