Re: GTK+ 2.12.3 (win32) and locales - not working

2007-12-19 Thread Alexander Shaduri

Thanks for the reply. I think I got closer to solving the problem.

The thing is, the only things I upgraded when switching from
2.12.1 to 2.12.3 are gtk and glib dlls and gettext's intl.dll
(from http://www.gimp.org/~tml/gimp/win32/downloads.html,
gettext-runtime-0.17.zip).

Now I took a clean 2.12.1 with working translations and only
updated intl.dll (I was using gettext-0.14.5 previously).
The translations stopped working.

This was on a win2kpro (sp4 I think) machine.
Then I moved the whole thing to winxp, and everything started
working.

So, to summarize, it seems to be the intl.dll / win2k problem.

Tried running 2.12.3 with old intl.dll, but it complains about missing
symbol (no surprise here).

Thanks, Alexander
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: GTK+ 2.12.3 (win32) and locales - not working

2007-12-14 Thread Tor Lillqvist
 So, to summarize, it seems to be the intl.dll / win2k problem.

That is interesting. Thanks for taking time to dig into this. I will
install win2k in a virtual machine and try to find out what is going
on.

--tml
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


GTK+ 2.12.3 (win32) and locales - not working

2007-12-13 Thread Alexander Shaduri

I have a problem in windows with GTK+ 2.12.3 which didn't happen with 2.12.1.
If I have a non-english locale set in windows, programs using 2.12.3 don't
get translated, but if I change GTK to 2.12.1, they do. (I'm talking about
Open, Cancel, etc... that sort of strings).
Both versions come from
http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.12/

It seems that 2.12.3 has the locale directory in share, not in lib as previous
versions did. I tried copying it to both share and lib, but still nothing.

I ran
strings libgtk-win32-2.0-0.dll | grep locale
on both versions and got:

2.12.3:
...
c:/devel/target/5acf545be633e26dcf39ce42e159bafc/share/locale
c:/devel/target/5acf545be633e26dcf39ce42e159bafc/share/locale
...

and
2.12.1:
...
c:/devel/target/0d05e97fbafcc302580d49b7ff9973ad/lib/locale
lib\locale
...

Seems to me like there's some compile-time stuff compiling in
instead of being determined at runtime.

Of course, I may be off by a mile here. :)

Alexander
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: GTK+ 2.12.3 (win32) and locales - not working

2007-12-13 Thread Tor Lillqvist
 It seems that 2.12.3 has the locale directory in share, not in lib as 
 previous
 versions did.

Yes. That is not a problem.

 I tried copying it to both share and lib, but still nothing.

Copying is pointlesss.

 I ran strings libgtk-win32-2.0-0.dll | grep locale
 on both versions and got:

 2.12.3:
 c:/devel/target/5acf545be633e26dcf39ce42e159bafc/share/locale

 2.12.1:
 c:/devel/target/0d05e97fbafcc302580d49b7ff9973ad/lib/locale

So? If you try 2.12.0 you will find yet another confugure-time locale directory.

 Seems to me like there's some compile-time stuff compiling in
 instead of being determined at runtime.

Nah, you are wrong. The folder is determined at run-time in the same
manner as previously, even if the locale subdirectory now is in
share and not in lib. There must be something else wrong with your
setup.

--tml
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list