bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where is collect location of gtk20.mo on Windows?


From: Philippe Michel
Subject: Re: Where is collect location of gtk20.mo on Windows?
Date: Sun, 18 Feb 2024 20:10:10 +0100

On Thu, Feb 15, 2024 at 06:03:39PM +0900, TAKAHASHI Kaoru wrote:

> I have installed gnubg-1_08_001-20240204-setup.exe to
> %HOMEPATH%\AppData\Local\gnubg\.
> [...] 
> But I don't know where to put gtk20.mo correctly.
> 
> I have tried the following directories:
>   %HOMEPATH%\AppData\Local\gnubg\locale\ja\LC_MESSAGES\
>   %HOMEPATH%\AppData\Local\gtk-2.0\locale\ja\LC_MESSAGES\
>   %HOMEPATH%\AppData\Local\gtk-2.0\share\locale\ja\LC_MESSAGES\
> 
> Where is collect gtk20.mo location on Windows?

If you installed it as a normal user GNUbg should look for the gtk20.mo 
file in
%HOMEPATH%\AppData\Local\share\locale\ja\LC_MESSAGES\
or possibly the same with ja_JP instead of ja. If it was installed as 
administrator it will certainly be elsewhere. Annoyingly this is outside 
of its installation directory.

You can check this with the Process Monitor tool available here:
https://learn.microsoft.com/en-us/sysinternals/downloads/procmon
Start gnubg and look with Tools / File Summary / By Extension.

It is probably possible to do things at program startup to tell it to 
look elsewhere but this is an area I don't know much. I left everything 
about internationalization as it was (with the exception of converting 
to UTF-8) and never really investigated.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]