Bug 442607 - KDiff3 (in Windows) menu in French and in English
Summary: KDiff3 (in Windows) menu in French and in English
Status: RESOLVED WORKSFORME
Alias: None
Product: kdiff3
Classification: Applications
Component: application (show other bugs)
Version: 1.8.4
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: michael
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-17 16:27 UTC by 石庭豐
Modified: 2023-05-21 03:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
KDiff3 menu in French and in English (102.62 KB, image/png)
2021-09-17 16:27 UTC, 石庭豐
Details
Mp3tag's setting menu where we can choose the language (46.17 KB, image/png)
2021-09-17 16:28 UTC, 石庭豐
Details
Administrative language settings > French (16.04 KB, image/png)
2021-12-13 18:43 UTC, 石庭豐
Details
Still some French words after the 1st patch (42.61 KB, image/png)
2023-03-22 09:53 UTC, 石庭豐
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 石庭豐 2021-09-17 16:27:32 UTC
Created attachment 141655 [details]
KDiff3 menu in French and in English

SUMMARY


STEPS TO REPRODUCE
1. Having a French environment in Win10
2. Install Kdiff3
3. Open Kdiff3

OBSERVED RESULT
Menu in English and in French

EXPECTED RESULT
Either in English or in French


SOFTWARE/OS VERSIONS
Windows: Win10

ADDITIONAL INFORMATION
You can see the mixture in the attached image.
It would be nice if you could make a "Choose language" menu in the settings.  And example is in Mp3tag.  I'll show you in another image.
Comment 1 石庭豐 2021-09-17 16:28:06 UTC
Created attachment 141656 [details]
Mp3tag's setting menu where we can choose the language
Comment 2 michael 2021-10-25 20:34:31 UTC
The language setting in kdiff3 has no effect on other programs. As far a I know this is by design. Does kdiff3 itself show this behavoir in its UI?
Comment 3 石庭豐 2021-11-02 14:50:37 UTC
(In reply to michael from comment #2)
> The language setting in kdiff3 has no effect on other programs.

Why this comment?  of course it has no effect on other programs.

> As far a I know this is by design. Does kdiff3 itself show this behavoir in its UI?

Yes, as shown in my attached image.  The UI is totally messed up: it's in English AND in French.
Comment 4 michael 2021-11-16 21:27:12 UTC
Sorry missed that second attachment.
Comment 5 michael 2021-12-02 18:59:24 UTC
Can you see if 1.9.4 is still affected? If then I will look into it. My machine only shows English as language option. This is not my intent and I assume the result of my system being English only to start with.
Comment 6 石庭豐 2021-12-13 18:42:29 UTC
(In reply to michael from comment #5)
> Can you see if 1.9.4 is still affected? If then I will look into it. My
> machine only shows English as language option. This is not my intent and I
> assume the result of my system being English only to start with.

Unfortunately, 1.9.4 (installed by kdiff3-1.9.4-windows-64-cl.exe) is still affected.

Here are the steps to reproduce this problem even if your system is in English:
1. Create another user for test in your computer (so you won't mix up things in your main user profile which could be quite nasty ^_^ )
2. Sign in to that user
3. Open Settings (in Windows 10, that's the "cog") > Language Settings
4. Open "Administrative language settings"
5. Change Format field to "French (France)"  (cf attached image that I'm going to upload)
Comment 7 石庭豐 2021-12-13 18:43:09 UTC
Created attachment 144518 [details]
Administrative language settings > French
Comment 8 michael 2022-01-21 19:40:12 UTC
This seems to be a craft limitation a solution is in the works but not yet deployed for general testing. I will update this when I hear more.
Comment 9 michael 2022-01-28 04:24:29 UTC
Just upload a binary built from the 1.9.4 source tarball. This should have full translations as they are part of the tarball.
Comment 10 石庭豐 2023-03-22 09:53:21 UTC
Created attachment 157513 [details]
Still some French words after the 1st patch
Comment 11 石庭豐 2023-03-22 09:54:26 UTC
No, the problem has not been totally fixed yet.  I still see French words here and there (cf attached image https://bugs.kde.org/attachment.cgi?id=157513)

It seems like kdiff3 is using several mechanisms to detect language.
Comment 12 michael 2023-03-23 02:00:33 UTC
This will be fixed in as soon craft updates to KF 5.104. Apparently a known issue with older frameworks on windows

Albert Astals Cid
	
6:46 PM (3 hours ago)
	
to kde-core-devel, kde-windows, me
El dimecres, 22 de març de 2023, a les 21:38:58 (CET), Michael Reeves va
escriure:
> I receiving complaints about French words appearing sporadically on
> KDiff3's GUi even when KDiff3 itself is set to  use English.
> I strongly suspect a setup issue within Windows but require assistance to
> rule out frameworks/qt involvement in the issue.
> https://bugs.kde.org/show_bug.cgi?id=442607
>
> KDiff3 itself does not attempt to interfere with or alter the translation
> process in any way,

Forcing the language on the application settings (which seems to be what the
user is doing) didn't work on Windows until very recently, you'll need a newer
build that is based in KF 5.104.

Cheers,
  Albert
Comment 13 michael 2023-04-06 19:56:29 UTC
Can you retest with 1.10.1 it includes libkf5i18n 5.104.
Comment 14 michael 2023-04-21 17:09:53 UTC
waiting for retest.
Comment 15 Bug Janitor Service 2023-05-06 03:46:11 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 16 Bug Janitor Service 2023-05-21 03:45:53 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!