On 5/14/07, Gabriel Schulhof <[EMAIL PROTECTED]> wrote:
>
> 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.



I seem to remember that Ubuntu's installer Ubiquity has dynamically switches
the language
on the first page of installation (with a list of languages on the left, and
clicking on one
of these languages changes the UI translations at runtime). You might want
to check the
Ubiquity code to see how they do this?

Samuel


Gabriel
>
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to