Language setting doesn't work - Got a mix of 75% German, 25% English, despite en_GB/en_US language setting
A few pictures that should show quite clearly what's wrong:
A wild mix of German and English everywhere, despite en_GB language setting with en_US fallback:
Windows 10 Build 2004, Kdenlive Version 20.12.1.
See: https://bugs.kde.org/show_bug.cgi?id=463089 See: https://bugs.kde.org/show_bug.cgi?id=434179
Comment from @mardelle : Problem is that to ensure all libraries use a dot as numerical separator on Windows, MLT currently needs to have the LC_ALL environment variable set to 'C' or any locale using a dot. And KDE translations use the gettext library which on Windows uses that exact same variable to decide the translation language. On linux, you can override the translation language for gettext by setting the 'LANGUAGE' variable but not on Windows. Qt doesn't rely on gettext which explains why Qt and Shotcut translations are not affected... that's the current status. Maybe if MLT drops the locale stuff we can have a solution, otherwise maybe patch gettext but not sure how feasible it is...
The gettext docs say one can also use LANG instead of LC_ALL have you tried this? Do you know if LANG also affects the comma/point? The documentation also sais LANGUAGE is ignored if LC_ALL='C'
Gettext seems to be tricky under Windows. Here some sites about.
- Variable LANG
- translation folder structure and naming under Windows
https://stackoverflow.com/questions/19569362/gettext-will-always-use-system-default-locale https://stackoverflow.com/questions/62353692/gettext-on-windows-10-xampp-doesnt-translate-my-text