Article View: bit.software.international
Article #373Consolidated Answers to "Message Catalog String Format"
From: Bowyer Jeff
Date: Thu, 05 Aug 1993 15:09
Date: Thu, 05 Aug 1993 15:09
53 lines
2779 bytes
2779 bytes
Here's the consolidated answers to the original question from Rob Moore
(redact!robm@relay.eu.net):
Does anyone know if the X/Open standard for message catalogs, say's
that messages should not have quotes '"' unless the $quote directive
is used ? I am using HP's NLS User Guide, which defines what catalog
format 'gencat' needs to generate a binary catalog, I wondered if this
was the X/Open standard.
Jeff
INSOFT-L List Manager
*========================================================================*
Jeff Bowyer EMail:
Computing Center jbowyer@cis.vutbr.cz
Technical University of Brno
Udolni 19, 602 00 BRNO
Czech Republic
*========================================================================*
Sender: Ben Steele (steele@pixel.kodak.com)
According to the documents from Sun (1990), quotes are not necessary
UNLESS you use the `$quote c' directive.
Without the directive no quotes are necessary (default);
with the directive `$quote "' in your message file, gencat will
require double quotes around the messages.
On another note regarding X/Open Portability Guide's specs for
internationalization, Sun is planning to follow Uniforum's proposal
of 'gettext' rather than 'catget'. I have looked at both and am leaning
in Sun's direction; comments anyone???
Sender: Glenn Wright (Glenn.Wright@UK.Sun.COM)
Yes, the $quote feature is part of the x/open standard. Without the
$quote there is no guarantee that actual quotes would be assumed to be
delimiters on all implementations, although there is a chance that some
implementations will parse for the standard ascii quote and do the
right thing.
Sender: Yang Li-qun <yang@nff.ncl.omron.co.jp>
XPG3 (Volume 3 XSI Supplementary Definitions, Page 43) says,
"By default, or if an empty $quote directive is supplied, no quoting of
message-text will be recognised."
That, '"" will be treated as part of message-text.
Technical Details
Message-ID:
<1993Aug5.150933.2851@cis.vutbr.cz>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!uunet!news.univie.ac.at!alijku11!aci.cvut.cz!cis.vutbr.cz!insoft-l@cis.vutbr.czShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 110cdc,7f71bb3bc309439c,start X-Google-Attributes: gid110cdc,public X-Google-ArrivalTime: 1993-08-05 23:36:49 PST Newsgroups: bit.software.international Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!uunet!news.univie.ac.at!alijku11!aci.cvut.cz!cis.vutbr.cz!insoft-l@cis.vutbr.cz From: Bowyer Jeff <jbowyer@cis.vutbr.cs> Subject: Consolidated Answers to "Message Catalog String Format" Date: Thu, 5 Aug 1993 15:09:33 GMT Message-ID: <1993Aug5.150933.2851@cis.vutbr.cz> Approved: insoft-l-moderator@cis.vutbr.cz Sender: insoft-l@cis.vutbr.cz Reply-To: <insoft-l@cis.vutbr.cz> Originator: insoft-l@cis.vutbr.cz Organization: Technical University of Brno, Czech Republic Lines: 53