🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #3715

Re: String value of enum

#3715
From: James Kanze US/ESC 60/3/141 #407...
Date: Mon, 18 Mar 1996 17:48
31 lines
2274 bytes
In article <4ictfr$r43@ns.hcsc.com> bill@amber.ssd.hcsc.com (Bill
Leonard) writes:

|> In article <KANZE.96Mar14131235@gabi.gabi-soft.fr>, kanze@gabi-soft.fr
|> (J. Kanze) writes:

|> > What happens when the
|> > program is prepared for internationalization, and the translater
|> > modifies the strings?

|> If it were built into the language, he wouldn't do that, would he? :-)

If it were built into the language, he *couldn't* do that.  While your
example using keywords in a programming language is a valid exception,
in general, strings in a program must be translated/translatable.  In
the initial example, days of the week, this is certainly the case, and
in fact, the translations have already been done for me on my system
(provided I use strftime to access them).

--
James Kanze         Tel.: (+33) 88 14 49 00        email: kanze@gabi-soft.fr
GABI Software, Sarl., 8 rue des Francs-Bourgeois, F-67000 Strasbourg, France
Conseils, itudes et rialisations en logiciel orienti objet --
                -- A la recherche d'une activiti dans une region francophone
---
[ comp.std.c++ is moderated.  To submit articles: Try just posting with your 
                newsreader.  If that fails, use mailto:std-c++@ncar.ucar.edu
  comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
  Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
  Comments? mailto:std-c++-request@ncar.ucar.edu 
]
Technical Details
Message-ID: <9603181407.AA25424@lts.sel.alcatel.de>
Path: arc1-ca.pugleaf.net!chronicle.mti.sgi.com!austern
References: <4i5sf3$89c@hermes.is.co.za> <Do81tp.H9u@rsvl.unisys.com> <KANZE.96Mar14131235@gabi.gabi-soft.fr> <4ictfr$r43@ns.hcsc.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!chronicle.mti.sgi.com!austern
From: James Kanze US/ESC 60/3/141 #40763 <kanze@lts.sel.alcatel.de>
Newsgroups: comp.std.c++
Subject: Re: String value of enum
Date: 18 Mar 1996 09:48:43 PST
Organization: -
Approved: austern@isolde.mti.sgi.com
Message-ID: <9603181407.AA25424@lts.sel.alcatel.de>
References: <4i5sf3$89c@hermes.is.co.za> <Do81tp.H9u@rsvl.unisys.com> <KANZE.96Mar14131235@gabi.gabi-soft.fr> <4ictfr$r43@ns.hcsc.com>
NNTP-Posting-Host: isolde.mti.sgi.com
X-Original-Date: Mon, 18 Mar 96 15:07:19 +0100
In-Reply-To: bill@amber.ssd.hcsc.com's message of 16 Mar 96 10:15:46 GMT
X-Auth: PGPMoose V1.1 PGP comp.std.c++
 iQBVAwUBMU2iEUy4NqrwXLNJAQEhSgH9GJ41Uqdd0Z3nqnuaTACat68bbDrlFFCS
 Ggrv8ITrlokjdzQMR23qhPtxLAj3azMoHUF/094kJUEYyvyRJD6uKw==
 =t8Tf
Originator: austern@isolde.mti.sgi.com