badeoel wrote:
> I have a program, written in C# using GTK#, that is localized for english. I
> want to translate it to german and changed all texts inside the sourcecode.
> But I have a problem: All dialogs (Color-Dialog, Yes/Now-Dialogs) use
> english words and I don't know, how to translate them. I'm pretty sure, that
> I can switch the language of the gtk-part to german, but I have no Idea, how
> to do that. 
>   
The language of the Gtk+ strings should match the language of your 
operating system. If you want to allow the user to specify a different 
language in the application itself, the only way that I'm aware of is to 
set the "LANG" environment variable(not sure whether that works on 
non-unix operating systems, too) via g_setenv. See bug 
https://bugzilla.novell.com/show_bug.cgi?id=477396 for details.

Christian
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to