comp.lang.ada
 help / color / mirror / Atom feed
From: "Michael Rohan" <mrohan@ACM.ORG>
Subject: Ada and Internationalization
Date: 30 May 2006 16:12:35 -0700
Date: 2006-05-30T16:12:35-07:00	[thread overview]
Message-ID: <1149026932.554318.202570@i39g2000cwa.googlegroups.com> (raw)

Hi Folks,

I've checked Google and have not been able to find anything in Ada out
there for internationalized code.  There's support for Wide_Character
and Wide_Wide_Character but there doesn't seem to be libraries for
message strings.  Before starting down the path of writing from
scratch, wanted to check.

If nothing is available, I was considering taking Java .properties
files, somehow "compiling" them into an Ada package and implementing
something akin to Java's MessageFormat:

   Arguments : Message_Arguments;
   ...
   Arguments.Append ("a string");
   Arguments.Append (10);
   Arguments.Append (Pi);
   Put_Line (Message_Format ("facility", "msg001", Arguments));

Take care,
Michael.




             reply	other threads:[~2006-05-30 23:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-30 23:12 Michael Rohan [this message]
2006-05-31  5:52 ` Ada and Internationalization Ludovic Brenta
2006-05-31  7:44 ` Dmitry A. Kazakov
2006-05-31 14:53   ` James Dennett
2006-05-31 15:23     ` Dmitry A. Kazakov
2006-05-31 15:27       ` James Dennett
2006-06-01 11:00         ` Dmitry A. Kazakov
2006-06-03  1:23           ` Randy Brukardt
2006-06-04 13:23             ` Stephen Leake
2006-06-04 20:09               ` Randy Brukardt
2006-05-31 10:11 ` Georg Bauhaus
replies disabled

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