Re: [gtkmm] Gtk::Stock::OPEN
- From: Daniel Elstner <daniel elstner gmx net>
- To: Nuno Afonso <hunchback netcabo pt>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] Gtk::Stock::OPEN
- Date: 06 Jul 2002 10:15:39 +0200
Am Sam, 2002-07-06 um 02.19 schrieb Nuno Afonso:
>
> i'm trying to do a program with gtkmm and it's suposed to be
> multilingue, and when i use the Gtk::Stock::OPEN it appears the pixmap
> that refers to open and the text 'Open'. What i want to know, is if it
> always appears 'Open' or if the program verifys which language the
> Window Manager is using and "translates" it to that language.
It depends on the locale your program is using, which has nothing to do
with the window manager. GTK+ automatically honors the user's locale
settings, and thus it'll be translated. In the demos/gtk-demo/
directory, try something like:
LC_ALL=de_DE ./demo
And the stockbrowser demo will show you the stock labels in German.
--Daniel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]