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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b5b666dfe354c6a6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-04 05:27:43 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!uninett.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: GPS Date: Sat, 4 May 2002 12:27:42 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <87g01a1j7u.fsf@deneb.enyo.de> <4NvA8.42445$ao1.9582@rwcrnsc54> NNTP-Posting-Host: kiuk0156.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1020515262 28188 129.241.83.82 (4 May 2002 12:27:42 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Sat, 4 May 2002 12:27:42 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:23538 Date: 2002-05-04T12:27:42+00:00 List-Id: On Sat, 04 May 2002 08:13:41 GMT, Dale Stanbrough wrote: > Can GPS be customised easily for other languages? > > The code in the examples look suspiciouly like the code for > GPS, and has English strings embedded in it. If you look at page 25 you see it says: Msg => -"Are you sure you want to quit ?" the "-" is in GtkAda defined as such: function "-" (Msg : String) return String is begin return Dgettext ("Programname", Msg); end "-"; and I expect they use this function as it comes from Glade (GUI builder); So it uses the gettext capabilities and internationalisation is then done easily. How this work under Windows, I don't know as I haven't tried it yet. Preben -- "Jeg tror nordmenn har glemt hvordan de tilbreder fisk. De er mest opptatt av firkantet fisk." -- Kristian Kristiansen, yrkesfisker, aftenposten.no 19/04/02