comp.lang.ada
 help / color / mirror / Atom feed
From: mgr <mgrojo@gmail.com>
Subject: Re: A Gtk/GtkAda and Glade question
Date: Sat, 9 May 2020 17:06:41 +0200
Date: 2020-05-09T17:06:41+02:00	[thread overview]
Message-ID: <r96gu0$1gpp$1@gioia.aioe.org> (raw)
In-Reply-To: 5ea6cd11$0$1724$e4fe514c@news.kpn.nl

On 27/4/20 14:16, ldries46 wrote:
 > Another problem I encountered is that you have for your program constant
 > strings in your GUI and I do want variables in that positions to change
 > the look of my GUI by a simple redraw action. One reason is that I want
 > to create a multi language program So I need for instance the menu to be
 > possible in several languages (f.i. English, Dutch, German, French and
 > Spanish) and just switch these languages with one redraw. I can do that
 > when I do not use the GtkBuilder statement.

You should look for gettext library support in Glade and the gtkada.intl 
package (which is a binding to the former). I haven't tried it, but 
interfaces produced by Glade should be translatable using gettext files.

  reply	other threads:[~2020-05-09 15:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-27 12:16 A Gtk/GtkAda and Glade question ldries46
2020-05-09 15:06 ` mgr [this message]
2020-05-13  7:04   ` ldries46
2020-05-13  8:18     ` Dmitry A. Kazakov
2020-05-15  9:17       ` ldries46
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox