Re: How to create a simple multilingual GUI
- From: Gabriel Schulhof <nix go-nix ca>
- To: gtk-app-devel-list gnome org
- Subject: Re: How to create a simple multilingual GUI
- Date: Mon, 14 May 2007 09:14:19 +0300
Hi!
On Sun, 2007-05-13 at 02:19 +0200, David Nečas (Yeti) wrote:
Run-time switching of languages is not
possible http://bugzilla.gnome.org/show_bug.cgi?id=313736
Oh, it's possible, just very difficult. You have to keep all your
user-string-displaying widgets in a list, and set the label/text for
each of them every time the language changes, and after notifying
gettext of the change.
This can quickly turn into a nightmare, because the width of labels
tends to change from language to language, and non-resizable windows
will not re-shrink after a "verbose" language.
Gabriel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]