comp.lang.ada
 help / color / mirror / Atom feed
From: Ray Blaak <blaak@infomatch.com>
Subject: Re: Programming for the World in Ada95
Date: 2000/02/16
Date: 2000-02-16T00:00:00+00:00	[thread overview]
Message-ID: <uputwop9t.fsf@infomatch.com> (raw)
In-Reply-To: 88esr7$nff$1@wanadoo.fr

"Pascal Obry" <p.obry@wanadoo.fr> writes:
> And what about:
> 
> function Critical_Error (Total_Count, Critical_Count : in Positive) return
> String is
> begin
>    return "there are" & Positive'Image (Total_Count) & " bad things here,"
>       & Positive'Image (Critical_Count) & " of which matter";
> end Critical_Error;

Well sure, but the point was to be able to have translated strings come from a
data file rather than being hard coded into the program.

That way, one can do translations after the fact, and farm out translation
tasks to consultants who know the languages, but are not necessarily
programmers.

Most importantly, that way you can have the same software that runs anywhere
and have it dynamically decide which translation data to use, based on the
locale information as provided by the operating system.

-- 
Cheers,                                        The Rhythm is around me,
                                               The Rhythm has control.
Ray Blaak                                      The Rhythm is inside me,
blaak@infomatch.com                            The Rhythm has my soul.




      reply	other threads:[~2000-02-16  0:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-14  0:00 Programming for the World in Ada95 John J Cupak Jr
2000-02-14  0:00 ` Gautier
2000-02-14  0:00 ` Larry Kilgallen
2000-02-16  0:00   ` Robert A Duff
2000-02-14  0:00 ` Ehud Lamm
2000-02-15  0:00 ` Jean-Pierre Rosen
2000-02-15  0:00   ` Marin D. Condic
2000-02-15  0:00     ` Ray Blaak
2000-02-16  0:00       ` Larry Kilgallen
2000-02-16  0:00       ` Pascal Obry
2000-02-16  0:00       ` Nick Roberts
2000-02-16  0:00       ` Pascal Obry
2000-02-16  0:00         ` Ray Blaak [this message]
replies disabled

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