Created attachment 119755 [details] the screenshot of the bug I have finished the translation of Krita. "Krita Script Starter" looks still English. STEPS TO REPRODUCE 1. Change UI language. 2. Choose Tools - Script - Krita Script Starter SOFTWARE/OS VERSIONS Krita Version: 4.2.0-pre-alpha (Via PPA) Languages: tr Hidpi: true Qt Version (compiled): 5.9.5 Version (loaded): 5.9.5 OS Information Build ABI: x86_64-little_endian-lp64 Build CPU: x86_64 CPU: x86_64 Kernel Type: linux Kernel Version: 4.15.0-48-lowlatency Pretty Productname: Ubuntu 18.04.2 LTS Product Type: ubuntu Product Version: 18.04
That's because it uses a 'ui' file instead of generating the widgets in the code, and I don't think the python code can handle anything but i18n calls right now.
Could perhaps using pyuic5 to turn the .ui file into a .py file work? The resulting file seems to contain localisation-related commands for UI strings. (Note: The .ui file should be automatically converted to .py file at *compile time*, and the resulting .py file should not be commited to Git.)
A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/931
Git commit 8450dbfcb66a045a8fb05d444f327ffbcf6c4c77 by Dmitry Kazakov, on behalf of Alvin Wong. Committed on 29/06/2021 at 06:06. Pushed by dkazakov into branch 'master'. Load translations for .ui files in Python plugins M +14 -0 krita/main.cc M +2 -2 plugins/python/krita_script_starter/bbdkss.ui M +2 -2 plugins/python/selectionsbagdocker/selectionsbagdocker.ui https://invent.kde.org/graphics/krita/commit/8450dbfcb66a045a8fb05d444f327ffbcf6c4c77