Re: Troubles with gettext 0.17.0 on Windows

2008-06-10 Thread Enrico Tröger
On Tue, 10 Jun 2008 16:09:10 +0300, "Tor Lillqvist" <[EMAIL PROTECTED]> wrote: > > Might this be a Windows 2000 issue? I'm trying this on a German > > Windows 2000 SP4. > > Ah. That is possible. I will have to check. Thanks. And sorry for sending the previous mail only to you (wrong button), thi

Re: Troubles with gettext 0.17.0 on Windows

2008-06-09 Thread Tor Lillqvist
> from http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/, and I just > checked it again, all in latest version: 0.17-1 (-tools in 0.17). Then I don't understand. I downloaded the de.po file you linked to, and run it through the very same msgfmt.exe that is in the gettext

Re: Troubles with gettext 0.17.0 on Windows

2008-06-09 Thread Enrico Tröger
t contained the msgfmt command? Oops, forgot to mention this. I downloaded the gettext-runtime-dev, gettext-runtime and gettext-tools packages from http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/, and I just checked it again, all in latest version: 0.17-1 (-tools in 0.17). Regards,

Re: Troubles with gettext 0.17.0 on Windows

2008-06-09 Thread Tor Lillqvist
> I updated my GTK libs for compiling my app on Windows to GTK 2.12.10 > and the according deps. >From where exactly did you download this, specifically the package that contained the msgfmt command? --tml ___ gtk-app-devel-list mailing list gtk-app-dev

Troubles with gettext 0.17.0 on Windows

2008-06-09 Thread Enrico Tröger
ultibyte sequence de.po:24:17: invalid multibyte sequence de.po:24:18: invalid multibyte sequence de.po:24:19: invalid multibyte sequence de.po:24:20: invalid multibyte sequence \libs\bin\msgfmt.exe: too many errors, aborting The file de.po is valid UTF-8 [1], it can be compiled with gettext 0.14.5

Re: Using gettext with a GOptionEntry

2007-01-25 Thread Kevin DeKorte
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eduardo M KALINOWSKI wrote: > This is by no means GTK+-related, and a very basic question regarding > gettext usage. > > Use the N_() macro, something like this: > > static GOptionEntry entries[] = { > {"window&q

Re: Using gettext with a GOptionEntry

2007-01-25 Thread Yeti
On Thu, Jan 25, 2007 at 01:57:36PM -0500, Kevin DeKorte wrote: > > I'm trying to use gettext to do translation on a GOptionEntry table, > currently this works as is, but the text isn't translated. > > ... > > I tried this > > static GOptionEntry e

Re: Using gettext with a GOptionEntry

2007-01-25 Thread Eduardo M KALINOWSKI
Kevin DeKorte wrote: > Hi, > > I'm trying to use gettext to do translation on a GOptionEntry table, > currently this works as is, but the text isn't translated. > > static GOptionEntry entries[] = { > {"window", NULL, 0, G_OPTION_ARG_INT, &a

Using gettext with a GOptionEntry

2007-01-25 Thread Kevin DeKorte
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm trying to use gettext to do translation on a GOptionEntry table, currently this works as is, but the text isn't translated. static GOptionEntry entries[] = { {"window", NULL, 0, G_OPTION_ARG_INT, &embed_window, &q

Re: Gettext

2006-10-03 Thread Matias Torres
Tristan Van Berkom escribió: > Matias Torres wrote: > >> Hi all! >> Yes, I know it's not a GTK question but i couldn't find an answer to >> my problem. >> >> After building my application (if it helps, it uses gtk), i use >> gettext for t

Re: Gettext

2006-10-03 Thread Matias Torres
Tristan Van Berkom escribió: > Matias Torres wrote: > >> Hi all! >> Yes, I know it's not a GTK question but i couldn't find an answer to >> my problem. >> >> After building my application (if it helps, it uses gtk), i use >> gettext for t

Re: Gettext

2006-10-03 Thread Tristan Van Berkom
Matias Torres wrote: >Hi all! >Yes, I know it's not a GTK question but i couldn't find an answer to my >problem. > >After building my application (if it helps, it uses gtk), i use gettext >for translating it, and, in linux it works just fine. But, talking about

Re: Gettext

2006-10-03 Thread Tor Lillqvist
Matias Torres writes: > #define PACKAGE "xiliunsystem" > #define LOCALEDIR "po" > bindtextdomain (PACKAGE, LOCALEDIR); > textdomain (PACKAGE); This requires that you are in the folder where the "po" subfolder is. Are you there when you run the app? Alternatively, you could have the a

Gettext

2006-10-03 Thread Matias Torres
Hi all! Yes, I know it's not a GTK question but i couldn't find an answer to my problem. After building my application (if it helps, it uses gtk), i use gettext for translating it, and, in linux it works just fine. But, talking about windows, well .. it doesn't.. Note:

Re: GLib gettext and UTF-8

2005-09-27 Thread John Vetterli
the manpage for bind_textdomain_codeset. In a nutshell, calling: bind_textdomain_codeset ("mydomain", "UTF-8") will cause gettext to convert all translated strings to UTF-8 before returning them. JV ___ gtk-app-devel-list mailing li

Re: GLib gettext and UTF-8

2005-09-27 Thread The Saltydog
On 9/27/05, David Rosal <[EMAIL PROTECTED]> wrote: > In my GTK2 program, I use the macro _(str) to translate the strings. > "str" is in english (ASCII), but the translation may be encoded in an > arbitrary codeset (e.g. ISO-8859-1 or KOI-8...). The question is: Does > the glib macro _(str) convert

GLib gettext and UTF-8

2005-09-27 Thread David Rosal
Hi. I don't know much about UTF8 issues, and I wanted to know if I am making the things well. In my GTK2 program, I use the macro _(str) to translate the strings. "str" is in english (ASCII), but the translation may be encoded in an arbitrary codeset (e.g. ISO-8859-1 or KOI-8...). The questio

Re: GError and gettext. Should I or shouldn't I?

2005-07-26 Thread Tristan Van Berkom
Uzytkownik wrote: Should I use gettext in GError messages? In message is position of error in file. Or it will be print on stdout or for example on GUI show fragment of file. Heh, You made me jump, I've been using error->message to display save/load errors in glade3, dont worry

GError and gettext. Should I or shouldn't I?

2005-07-26 Thread Uzytkownik
Should I use gettext in GError messages? In message is position of error in file. Or it will be print on stdout or for example on GUI show fragment of file. Regards -- Linux user: #376500 (see http://counter.li.org/) -- W³ochy i Pary¿ - przewodniki turystyczne do wyboru. Tylko z lipcowym