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,74d953d10520ed5e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-26 15:46:40 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: rm@gunlab.com.ru (Roman V. Isaev) Newsgroups: comp.lang.ada Subject: Re: using charles library Date: 26 May 2003 15:46:39 -0700 Organization: http://groups.google.com/ Message-ID: References: NNTP-Posting-Host: 195.151.20.194 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1053989200 2307 127.0.0.1 (26 May 2003 22:46:40 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 26 May 2003 22:46:40 GMT Xref: archiver1.google.com comp.lang.ada:37814 Date: 2003-05-26T22:46:40+00:00 List-Id: > >> > package body gettext is > > I wonder is there any package easier to use? I only want two > > functions, something like store(key,value) and lookup(key), that's > > all, without 20+ string declaration voodoo... Grrrrr. I miss perl's > > associative arrays. > By the way what are you using it for? It is not for locales (gettext) on > Linux? If yes, then look at the GtkAda package. I would not touch Gtk stuff with a ten-foot pole. Gtk on WinXX performance is a joke and even Gtk on X11 performance is lousy (I always compile freeciv with Xaw3D because of that despite of Xaw3D interface strangeness). Seeing simple windows redraw themselves in times of common 1Ghz+ computers is Not Right. I developed some applications in C++ using wxWindows and wxWindows compared with Gtk is like sports car compared with econobox. IMHO :-) Anyway, this isn't the main reason. The main reason is to learn some Ada, I have to start somewhere and I'll need translation code anyway. Recently I dug out some old father's Pascal code that does some scientific calculations. It needs user interface and cleanup. Don't want to use Delphi. Many years ago I did an interface for it, using Clarion 2.1 for DOS, but program wasn't released :) Now I want to use AWS (I'm playing with it right now and it's amazing) so the interface would be accessible via TCP/IP and the program would be extremely portable (to run it on the openbsd server in demo mode). Scientific code produces lengthy text output, right now only cyrillic, and that output has to be translated somehow. I want to use gettext .mo files because I like poEdit and I want to give it to my father to translate most of his messages (I don't know a damn in oil field science). Didn't try to run xgettext on ada sources yet tho... but I hope string extraction is not a big problem.