Re: Ada and Internationalization
- From: "Dmitry A. Kazakov" <mailbox@xxxxxxxxxxxxxxxxx>
- Date: Wed, 31 May 2006 09:44:17 +0200
On 30 May 2006 16:12:35 -0700, Michael Rohan wrote:
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));
I don't see how this is related to internationalization. It looks like
stream communication (see S"Output attribute) or string formatting. In
either case you convert data to/from stream/string.
For strings I have a small library which works this way, it has UTF-8
support.
http://www.dmitry-kazakov.de/ada/strings_edit.htm
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
.
- Follow-Ups:
- Re: Ada and Internationalization
- From: James Dennett
- Re: Ada and Internationalization
- References:
- Ada and Internationalization
- From: Michael Rohan
- Ada and Internationalization
- Prev by Date: Re: Ada and Internationalization
- Next by Date: Ada newsfeeds?
- Previous by thread: Re: Ada and Internationalization
- Next by thread: Re: Ada and Internationalization
- Index(es):
Relevant Pages
|
|