|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Set german lamguageHi everyone,
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. I should add, that I'm not that familiar with Mono and GTK. Can anybody help me? Thanks for your help! Christian Caroli |
|
|
Re: Set german lamguagebadeoel 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 - Gtk-sharp-list@... http://lists.ximian.com/mailman/listinfo/gtk-sharp-list |
|
|
Re: Set german language
|
|
|
Re: Set german languagebadeoel wrote:
> I did some additional tests and found out, that the language strings are > correct, when starting the program with mono. When I use gtk# for .net > (starting under .net framework instead of mono), then the lanuage strings > are wrong. > That's interesting. > Is this probably a bug of gtk# for windows? > Yes, it is. Would you mind filing a bug report on http://www.mono-project.com/Bugs so that we can track the issue? > Has anybody the same problem? I wanted to test this on my German Windows installation already, but didn't find the time. Christian _______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@... http://lists.ximian.com/mailman/listinfo/gtk-sharp-list |
|
|
Re: Set german language>> Is this probably a bug of gtk# for windows?
>Yes, it is. Would you mind filing a bug report on >http://www.mono-project.com/Bugs so that we can track the issue? I did, it is Bug 513017. Thank you, now I can stop searching. :-) Ciao! Christian |
| Free embeddable forum powered by Nabble | Forum Help |