[Gtk-sharp-list] Set german lamguage

badeoel caroli at visual-design.com
Thu Jun 11 13:03:20 EDT 2009


Hi Christian, 

thank you for your help!


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. 
Hm - it unfortunately doesn't. I am running a german Vista, but the program
shows english texts... 
The program is written on an english (or russian) system, I re-compiled it
on a german system. I have installed Mono 2.4 for windows - and I don't have
any Idea, why the gtk standard dialogs still use english language... 
Can I change the GTK+-strings manually? I only had to change some view
strings...

>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.
Well, in fact, I don't want to use a different language - I just want to use
the same language as the operation system. This solution seems to be complex
for me...

Ciao!

Christian
-- 
View this message in context: http://www.nabble.com/Set-german-lamguage-tp23984427p23985300.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.



More information about the Gtk-sharp-list mailing list