GIMP interface localization is broken, language is always English
Environment/Versions
- GIMP version: 2.99.15
- Operating System: Windows
Description of the bug
GIMP interface localization is broken, language is always English.
Changing the Windows system language does not help. Changing the language in the GIMP settings menu does not change the language. Setting the LANG environment variable doesn't help.
I searched for the breaking commit, and found out that there is no bug on commit 48c27770. On commit 005b3a05 the bug occurs and is present further.
As far as I can tell from the debugging results, the use of the wbindtextdomain
function added by this commit breaks GUI language changing. The function works without errors, but for some reason it does not change the language.
The old version using bindtextdomain
function works correctly, even on the Windows platform.
Reproduction
Reproduction steps:
- Set Windows system language to non-English
- Change language in GIMP settings to non-English
- Set environment variable LANG="ru" or to other language
…
Expected result:
Language changes
Actual result:
Language remains English