From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED.+dqQTMsl4qYAdph5zjt2dQ.user.gioia.aioe.org!not-for-mail From: mgr Newsgroups: comp.lang.ada Subject: Re: A Gtk/GtkAda and Glade question Date: Sat, 9 May 2020 17:06:41 +0200 Organization: Aioe.org NNTP Server Message-ID: References: <5ea6cd11$0$1724$e4fe514c@news.kpn.nl> NNTP-Posting-Host: +dqQTMsl4qYAdph5zjt2dQ.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 Content-Language: en-GB X-Notice: Filtered by postfilter v. 0.9.2 Xref: reader01.eternal-september.org comp.lang.ada:58640 Date: 2020-05-09T17:06:41+02:00 List-Id: 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.