Bug 362357

Summary: Basic words like OK, Cancel remains English when running Krita in Japanese
Product: [Applications] krita Reporter: guruguru.sp
Component: TranslationAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: halla, lueck, osxyz
Priority: NOR Keywords: regression
Version: 3.0 Beta   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Attachments: ImageRotate dialog
File save dialog

Description guruguru.sp 2016-04-27 16:05:26 UTC
Very basic dialog buttons like "OK/Cancel"(example: Image Rotate)  "Yes/No/Cancel"(Save change dialog) remain to be in English when running Krita 3.0 beta in Japanese UI. I assume these are Qt buttons. In Krita2.9, they were in Japanese.

Reproducible: Always
Comment 1 guruguru.sp 2016-04-27 16:06:52 UTC
Created attachment 98641 [details]
ImageRotate dialog
Comment 2 guruguru.sp 2016-04-27 16:07:27 UTC
Created attachment 98642 [details]
File save dialog
Comment 3 Burkhard Lück 2016-04-28 06:33:20 UTC
with krita 3.0 Beta (git 7436999) + Qt 5.5 build from sources on a linux system these buttons are translated here and the *_ja.ts file in the Qt sources have these buttons translated.
Maybe it is a windows issue?
Comment 4 Halla Rempt 2016-04-28 06:35:00 UTC
It must be a packaging issue; I suspect I put the Qt translation files in the wrong place.
Comment 5 guruguru.sp 2016-05-19 11:54:38 UTC
This still happens in 3.0 RC 1. (I thought this was fixed at one time, but now the issue is back)
Comment 6 Halla Rempt 2016-05-25 13:37:20 UTC
I just cannot figure out how to make Qt show the translations correctly :-(
Comment 7 Halla Rempt 2016-05-26 06:38:03 UTC
I got this to "work" by creating new qt qm files and starting Krita from the command line:

set LANG=ja
krita

Then I checked e.g. the color selector and found that still half of the strings wasn't translated, though some were. It seems that Qt not only has fewer translations that Krita, but also that they are very incomplete.
Comment 8 Halla Rempt 2016-06-02 19:29:12 UTC
Git commit ec5002e62b6a9bd253f0d4c38b5ef5d2c0ed0ecf by Boudewijn Rempt.
Committed on 02/06/2016 at 19:29.
Pushed by rempt into branch 'krita/3.0'.

Work extra double plus hard to let Qt load the overridden translations.
Related: bug 363737

M  +1    -0    krita/main.cc

http://commits.kde.org/krita/ec5002e62b6a9bd253f0d4c38b5ef5d2c0ed0ecf
Comment 9 guruguru.sp 2016-06-04 14:25:24 UTC
krita-3.0-9e17aff-x64.zip is showing Japanese correctly.
Comment 10 Halla Rempt 2017-09-30 14:42:22 UTC
Closing.