Translation does not apply to python script on windows x64
GIMP version: 2.10.6
Operating System: Windows 10 Pro 64bit version
Package: Installer from gimp.org
Description of the bug
Translation does not apply to python scripts on windows x64.
The installer installs 32-bit version python on 64-bit windows. So the python requires locale directory 'GIMPROOT/32/share/locale'. On python console, gimp.locale_directory returns 'C:\Program Files\GIMP 2\32\share\locale', but 'GIMP 2/32/share/locale' is not exists and a real locale directory is 'GIMP 2/share/locale'.
Reproduction
Is the bug reproducible: Always
Reproduction steps:
- Change UI language to Japanese.
- Restart gimp.
- Check translation of python script ( ex "sort palette" action on color palette dialog or /Filters/Decor/Fog...)
…
Expected result: python script menus shows in translated language.
Actual result: python script menus shows in english.
Additional information
I fixed this problem by making symbolic link.
cd "C:\Program Files\GIMP 2\32\share"
mklink /D locale ..\..\share\locale
Inno setup script may be ebable to make symbolic link. Windows XP does not support symbolic link, but we can use symbolic link because Gimp 2.10 dropped XP support. I hope windows installer to make symbolic link.
See also