configopts.html, [...]: Add DOCTYPEs.
2002-10-07 Jonathan Wakely <jw@kayari.org>
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Add DOCTYPEs.
From-SVN: r57903
2002-10-08 02:11:23 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE html
|
|
|
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
|
2002-11-11 09:10:44 +08:00
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
2001-09-18 07:24:40 +08:00
|
|
|
<head>
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
|
|
<meta name="AUTHOR" content="bkoz@redhat.com (Benjamin Kosnik)" />
|
|
|
|
<meta name="KEYWORDS" content="HOWTO, libstdc++, GCC, g++, libg++, STL" />
|
|
|
|
<meta name="DESCRIPTION" content="Notes on the messages implementation." />
|
|
|
|
<title>Notes on the messages implementation.</title>
|
|
|
|
<link rel="StyleSheet" href="../lib3styles.css" />
|
2001-09-18 07:24:40 +08:00
|
|
|
</head>
|
2002-08-20 08:44:19 +08:00
|
|
|
<body>
|
|
|
|
<h1>
|
|
|
|
Notes on the messages implementation.
|
|
|
|
</h1>
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
<em>
|
2001-08-08 10:49:01 +08:00
|
|
|
prepared by Benjamin Kosnik (bkoz@redhat.com) on August 8, 2001
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</em>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<h2>
|
2001-08-08 10:49:01 +08:00
|
|
|
1. Abstract
|
2001-09-18 07:24:40 +08:00
|
|
|
</h2>
|
|
|
|
<p>
|
2001-08-08 10:49:01 +08:00
|
|
|
The std::messages facet implements message retrieval functionality
|
|
|
|
equivalent to Java's java.text.MessageFormat .using either GNU gettext
|
|
|
|
or IEEE 1003.1-200 functions.
|
2001-09-18 07:24:40 +08:00
|
|
|
</p>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<h2>
|
2001-08-08 10:49:01 +08:00
|
|
|
2. What the standard says
|
2001-09-18 07:24:40 +08:00
|
|
|
</h2>
|
2001-08-08 10:49:01 +08:00
|
|
|
The std::messages facet is probably the most vaguely defined facet in
|
|
|
|
the standard library. It's assumed that this facility was built into
|
|
|
|
the standard library in order to convert string literals from one
|
|
|
|
locale to the other. For instance, converting the "C" locale's
|
2001-09-18 07:24:40 +08:00
|
|
|
<code>const char* c = "please"</code> to a German-localized <code>"bitte"</code>
|
2001-08-08 10:49:01 +08:00
|
|
|
during program execution.
|
|
|
|
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
<blockquote>
|
2001-08-08 10:49:01 +08:00
|
|
|
22.2.7.1 - Template class messages [lib.locale.messages]
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</blockquote>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
|
|
|
This class has three public member functions, which directly
|
|
|
|
correspond to three protected virtual member functions.
|
|
|
|
|
|
|
|
The public member functions are:
|
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<p>
|
2002-08-15 01:29:19 +08:00
|
|
|
<code>catalog open(const string&, const locale&) const</code>
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</p>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<p>
|
2002-08-15 01:29:19 +08:00
|
|
|
<code>string_type get(catalog, int, int, const string_type&) const</code>
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</p>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<p>
|
|
|
|
<code>void close(catalog) const</code>
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</p>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<p>
|
2001-08-08 10:49:01 +08:00
|
|
|
While the virtual functions are:
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</p>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<p>
|
2002-08-15 01:29:19 +08:00
|
|
|
<code>catalog do_open(const string&, const locale&) const</code>
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</p>
|
|
|
|
<blockquote>
|
|
|
|
<em>
|
2001-08-08 10:49:01 +08:00
|
|
|
-1- Returns: A value that may be passed to get() to retrieve a
|
|
|
|
message, from the message catalog identified by the string name
|
|
|
|
according to an implementation-defined mapping. The result can be used
|
|
|
|
until it is passed to close(). Returns a value less than 0 if no such
|
|
|
|
catalog can be opened.
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</em>
|
|
|
|
</blockquote>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<p>
|
2002-08-15 01:29:19 +08:00
|
|
|
<code>string_type do_get(catalog, int, int, const string_type&) const</code>
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</p>
|
|
|
|
<blockquote>
|
|
|
|
<em>
|
2001-08-08 10:49:01 +08:00
|
|
|
-3- Requires: A catalog cat obtained from open() and not yet closed.
|
|
|
|
-4- Returns: A message identified by arguments set, msgid, and dfault,
|
|
|
|
according to an implementation-defined mapping. If no such message can
|
|
|
|
be found, returns dfault.
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</em>
|
|
|
|
</blockquote>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<p>
|
|
|
|
<code>void do_close(catalog) const</code>
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</p>
|
|
|
|
<blockquote>
|
|
|
|
<em>
|
2001-08-08 10:49:01 +08:00
|
|
|
-5- Requires: A catalog cat obtained from open() and not yet closed.
|
|
|
|
-6- Effects: Releases unspecified resources associated with cat.
|
|
|
|
-7- Notes: The limit on such resources, if any, is implementation-defined.
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</em>
|
|
|
|
</blockquote>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<h2>
|
2001-08-08 10:49:01 +08:00
|
|
|
3. Problems with "C" messages: thread safety,
|
|
|
|
over-specification, and assumptions.
|
2001-09-18 07:24:40 +08:00
|
|
|
</h2>
|
2001-08-08 10:49:01 +08:00
|
|
|
A couple of notes on the standard.
|
|
|
|
|
|
|
|
<p>
|
2001-09-18 07:24:40 +08:00
|
|
|
First, why is <code>messages_base::catalog</code> specified as a typedef
|
2001-08-08 10:49:01 +08:00
|
|
|
to int? This makes sense for implementations that use
|
2001-09-18 07:24:40 +08:00
|
|
|
<code>catopen</code>, but not for others. Fortunately, it's not heavily
|
2001-08-08 10:49:01 +08:00
|
|
|
used and so only a minor irritant.
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</p>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
|
|
|
<p>
|
2001-09-18 07:24:40 +08:00
|
|
|
Second, by making the member functions <code>const</code>, it is
|
2001-08-08 10:49:01 +08:00
|
|
|
impossible to save state in them. Thus, storing away information used
|
|
|
|
in the 'open' member function for use in 'get' is impossible. This is
|
|
|
|
unfortunate.
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</p>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
|
|
|
<p>
|
|
|
|
The 'open' member function in particular seems to be oddly
|
2001-09-18 07:24:40 +08:00
|
|
|
designed. The signature seems quite peculiar. Why specify a <code>const
|
2002-08-15 01:29:19 +08:00
|
|
|
string& </code> argument, for instance, instead of just <code>const
|
|
|
|
char*</code>? Or, why specify a <code>const locale&</code> argument that is
|
2001-08-08 10:49:01 +08:00
|
|
|
to be used in the 'get' member function? How, exactly, is this locale
|
|
|
|
argument useful? What was the intent? It might make sense if a locale
|
|
|
|
argument was associated with a given default message string in the
|
|
|
|
'open' member function, for instance. Quite murky and unclear, on
|
|
|
|
reflection.
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</p>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
|
|
|
<p>
|
|
|
|
Lastly, it seems odd that messages, which explicitly require code
|
|
|
|
conversion, don't use the codecvt facet. Because the messages facet
|
|
|
|
has only one template parameter, it is assumed that ctype, and not
|
|
|
|
codecvt, is to be used to convert between character sets.
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</p>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
|
|
|
<p>
|
|
|
|
It is implicitly assumed that the locale for the default message
|
|
|
|
string in 'get' is in the "C" locale. Thus, all source code is assumed
|
|
|
|
to be written in English, so translations are always from "en_US" to
|
|
|
|
other, explicitly named locales.
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</p>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<h2>
|
2001-08-08 10:49:01 +08:00
|
|
|
4. Design and Implementation Details
|
2001-09-18 07:24:40 +08:00
|
|
|
</h2>
|
2001-08-08 10:49:01 +08:00
|
|
|
This is a relatively simple class, on the face of it. The standard
|
|
|
|
specifies very little in concrete terms, so generic implementations
|
|
|
|
that are conforming yet do very little are the norm. Adding
|
|
|
|
functionality that would be useful to programmers and comparable to
|
|
|
|
Java's java.text.MessageFormat takes a bit of work, and is highly
|
|
|
|
dependent on the capabilities of the underlying operating system.
|
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<p>
|
2001-08-08 10:49:01 +08:00
|
|
|
Three different mechanisms have been provided, selectable via
|
|
|
|
configure flags:
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</p>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<ul>
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
<li> generic
|
|
|
|
<p>
|
|
|
|
This model does very little, and is what is used by default.
|
|
|
|
</p>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li> gnu
|
|
|
|
<p>
|
|
|
|
The gnu model is complete and fully tested. It's based on the
|
|
|
|
GNU gettext package, which is part of glibc. It uses the functions
|
|
|
|
<code>textdomain, bindtextdomain, gettext</code>
|
|
|
|
to implement full functionality. Creating message
|
|
|
|
catalogs is a relatively straight-forward process and is
|
|
|
|
lightly documented below, and fully documented in gettext's
|
|
|
|
distributed documentation.
|
|
|
|
</p>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li> ieee_1003.1-200x
|
|
|
|
<p>
|
|
|
|
This is a complete, though untested, implementation based on
|
|
|
|
the IEEE standard. The functions
|
|
|
|
<code>catopen, catgets, catclose</code>
|
|
|
|
are used to retrieve locale-specific messages given the
|
|
|
|
appropriate message catalogs that have been constructed for
|
|
|
|
their use. Note, the script <code> po2msg.sed</code> that is part
|
|
|
|
of the gettext distribution can convert gettext catalogs into
|
|
|
|
catalogs that <code>catopen</code> can use.
|
|
|
|
</p>
|
|
|
|
</li>
|
2001-09-18 07:24:40 +08:00
|
|
|
</ul>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<p>
|
2001-08-08 10:49:01 +08:00
|
|
|
A new, standards-conformant non-virtual member function signature was
|
|
|
|
added for 'open' so that a directory could be specified with a given
|
|
|
|
message catalog. This simplifies calling conventions for the gnu
|
|
|
|
model.
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</p>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<p>
|
2001-08-08 10:49:01 +08:00
|
|
|
The rest of this document discusses details of the GNU model.
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</p>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<p>
|
2001-08-08 10:49:01 +08:00
|
|
|
The messages facet, because it is retrieving and converting between
|
|
|
|
characters sets, depends on the ctype and perhaps the codecvt facet in
|
|
|
|
a given locale. In addition, underlying "C" library locale support is
|
2001-09-18 07:24:40 +08:00
|
|
|
necessary for more than just the <code>LC_MESSAGES</code> mask:
|
|
|
|
<code>LC_CTYPE</code> is also necessary. To avoid any unpleasantness, all
|
|
|
|
bits of the "C" mask (ie <code>LC_ALL</code>) are set before retrieving
|
2001-08-08 10:49:01 +08:00
|
|
|
messages.
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</p>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
|
|
|
<p>
|
|
|
|
Making the message catalogs can be initially tricky, but become quite
|
|
|
|
simple with practice. For complete info, see the gettext
|
|
|
|
documentation. Here's an idea of what is required:
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</p>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<ul>
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
<li> Make a source file with the required string literals
|
|
|
|
that need to be translated. See
|
|
|
|
<code>intl/string_literals.cc</code> for an example.
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li> Make initial catalog (see "4 Making the PO Template File"
|
|
|
|
from the gettext docs).
|
|
|
|
<p>
|
|
|
|
<code> xgettext --c++ --debug string_literals.cc -o libstdc++.pot </code>
|
|
|
|
</p>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li> Make language and country-specific locale catalogs.
|
|
|
|
<p>
|
|
|
|
<code>cp libstdc++.pot fr_FR.po</code>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<code>cp libstdc++.pot de_DE.po</code>
|
|
|
|
</p>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li> Edit localized catalogs in emacs so that strings are
|
|
|
|
translated.
|
|
|
|
<p>
|
|
|
|
<code>emacs fr_FR.po</code>
|
|
|
|
</p>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li> Make the binary mo files.
|
|
|
|
<p>
|
|
|
|
<code>msgfmt fr_FR.po -o fr_FR.mo</code>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<code>msgfmt de_DE.po -o de_DE.mo</code>
|
|
|
|
</p>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li> Copy the binary files into the correct directory structure.
|
|
|
|
<p>
|
|
|
|
<code>cp fr_FR.mo (dir)/fr_FR/LC_MESSAGES/libstdc++-v3.mo</code>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<code>cp de_DE.mo (dir)/de_DE/LC_MESSAGES/libstdc++-v3.mo</code>
|
|
|
|
</p>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li> Use the new message catalogs.
|
|
|
|
<p>
|
|
|
|
<code>locale loc_de("de_DE");</code>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<code>
|
|
|
|
use_facet<messages<char> >(loc_de).open("libstdc++", locale(), dir);
|
|
|
|
</code>
|
|
|
|
</p>
|
|
|
|
</li>
|
2001-09-18 07:24:40 +08:00
|
|
|
</ul>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<h2>
|
2001-08-08 10:49:01 +08:00
|
|
|
5. Examples
|
2001-09-18 07:24:40 +08:00
|
|
|
</h2>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<ul>
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
<li> message converting, simple example using the GNU model.
|
2001-08-08 10:49:01 +08:00
|
|
|
|
|
|
|
<pre>
|
2002-08-15 01:29:19 +08:00
|
|
|
#include <iostream>
|
|
|
|
#include <locale>
|
2002-01-31 08:24:56 +08:00
|
|
|
using namespace std;
|
2001-08-08 10:49:01 +08:00
|
|
|
|
|
|
|
void test01()
|
|
|
|
{
|
2002-08-15 01:29:19 +08:00
|
|
|
typedef messages<char>::catalog catalog;
|
2002-01-31 08:24:56 +08:00
|
|
|
const char* dir =
|
|
|
|
"/mnt/egcs/build/i686-pc-linux-gnu/libstdc++-v3/po/share/locale";
|
|
|
|
const locale loc_de("de_DE");
|
2002-08-15 01:29:19 +08:00
|
|
|
const messages<char>& mssg_de = use_facet<messages<char> >(loc_de);
|
2001-08-08 10:49:01 +08:00
|
|
|
|
2002-01-31 08:24:56 +08:00
|
|
|
catalog cat_de = mssg_de.open("libstdc++", loc_de, dir);
|
2001-08-08 10:49:01 +08:00
|
|
|
string s01 = mssg_de.get(cat_de, 0, 0, "please");
|
|
|
|
string s02 = mssg_de.get(cat_de, 0, 0, "thank you");
|
2002-08-15 01:29:19 +08:00
|
|
|
cout << "please in german:" << s01 << '\n';
|
|
|
|
cout << "thank you in german:" << s02 << '\n';
|
2001-08-08 10:49:01 +08:00
|
|
|
mssg_de.close(cat_de);
|
|
|
|
}
|
|
|
|
</pre>
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</li>
|
2001-09-18 07:24:40 +08:00
|
|
|
</ul>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
|
|
|
More information can be found in the following testcases:
|
2001-09-18 07:24:40 +08:00
|
|
|
<ul>
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
<li> testsuite/22_locale/messages.cc </li>
|
|
|
|
<li> testsuite/22_locale/messages_byname.cc </li>
|
|
|
|
<li> testsuite/22_locale/messages_char_members.cc </li>
|
2001-09-18 07:24:40 +08:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
<h2>
|
2001-08-08 10:49:01 +08:00
|
|
|
6. Unresolved Issues
|
2001-09-18 07:24:40 +08:00
|
|
|
</h2>
|
|
|
|
<ul>
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
<li> Things that are sketchy, or remain unimplemented:
|
|
|
|
<ul>
|
|
|
|
<li>_M_convert_from_char, _M_convert_to_char are in
|
|
|
|
flux, depending on how the library ends up doing
|
|
|
|
character set conversions. It might not be possible to
|
|
|
|
do a real character set based conversion, due to the
|
|
|
|
fact that the template parameter for messages is not
|
|
|
|
enough to instantiate the codecvt facet (1 supplied,
|
|
|
|
need at least 2 but would prefer 3).
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li> There are issues with gettext needing the global
|
|
|
|
locale set to extract a message. This dependence on
|
|
|
|
the global locale makes the current "gnu" model non
|
|
|
|
MT-safe. Future versions of glibc, ie glibc 2.3.x will
|
|
|
|
fix this, and the C++ library bits are already in
|
|
|
|
place.
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li> Development versions of the GNU "C" library, glibc 2.3 will allow
|
|
|
|
a more efficient, MT implementation of std::messages, and will
|
|
|
|
allow the removal of the _M_name_messages data member. If this
|
|
|
|
is done, it will change the library ABI. The C++ parts to
|
|
|
|
support glibc 2.3 have already been coded, but are not in use:
|
|
|
|
once this version of the "C" library is released, the marked
|
|
|
|
parts of the messages implementation can be switched over to
|
|
|
|
the new "C" library functionality.
|
|
|
|
</li>
|
2001-09-18 07:24:40 +08:00
|
|
|
<li> At some point in the near future, std::numpunct will probably use
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
std::messages facilities to implement truename/falename
|
|
|
|
correctly. This is currently not done, but entries in
|
|
|
|
libstdc++.pot have already been made for "true" and "false"
|
|
|
|
string literals, so all that remains is the std::numpunct
|
|
|
|
coding and the configure/make hassles to make the installed
|
|
|
|
library search its own catalog. Currently the libstdc++.mo
|
|
|
|
catalog is only searched for the testsuite cases involving
|
|
|
|
messages members.
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li> The following member functions:
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<code>
|
2001-08-08 10:49:01 +08:00
|
|
|
catalog
|
2002-08-15 01:29:19 +08:00
|
|
|
open(const basic_string<char>& __s, const locale& __loc) const
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</code>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<code>
|
|
|
|
catalog
|
|
|
|
open(const basic_string<char>&, const locale&, const char*) const;
|
|
|
|
</code>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
Don't actually return a "value less than 0 if no such catalog
|
|
|
|
can be opened" as required by the standard in the "gnu"
|
|
|
|
model. As of this writing, it is unknown how to query to see
|
|
|
|
if a specified message catalog exists using the gettext
|
|
|
|
package.
|
|
|
|
</p>
|
|
|
|
</li>
|
2001-09-18 07:24:40 +08:00
|
|
|
</ul>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<h2>
|
2001-08-08 10:49:01 +08:00
|
|
|
7. Acknowledgments
|
2001-09-18 07:24:40 +08:00
|
|
|
</h2>
|
2001-08-08 10:49:01 +08:00
|
|
|
Ulrich Drepper for the character set explanations, gettext details,
|
|
|
|
and patient answering of late-night questions, Tom Tromey for the java details.
|
|
|
|
|
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<h2>
|
2001-08-08 10:49:01 +08:00
|
|
|
8. Bibliography / Referenced Documents
|
2001-09-18 07:24:40 +08:00
|
|
|
</h2>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
|
|
|
Drepper, Ulrich, GNU libc (glibc) 2.2 manual. In particular, Chapters
|
|
|
|
"7 Locales and Internationalization"
|
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<p>
|
2001-08-08 10:49:01 +08:00
|
|
|
Drepper, Ulrich, Thread-Aware Locale Model, A proposal. This is a
|
|
|
|
draft document describing the design of glibc 2.3 MT locale
|
|
|
|
functionality.
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</p>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<p>
|
2001-08-08 10:49:01 +08:00
|
|
|
Drepper, Ulrich, Numerous, late-night email correspondence
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</p>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<p>
|
2001-08-08 10:49:01 +08:00
|
|
|
ISO/IEC 9899:1999 Programming languages - C
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</p>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<p>
|
2001-08-08 10:49:01 +08:00
|
|
|
ISO/IEC 14882:1998 Programming languages - C++
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</p>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<p>
|
2001-08-08 10:49:01 +08:00
|
|
|
Java 2 Platform, Standard Edition, v 1.3.1 API Specification. In
|
|
|
|
particular, java.util.Properties, java.text.MessageFormat,
|
|
|
|
java.util.Locale, java.util.ResourceBundle.
|
|
|
|
http://java.sun.com/j2se/1.3/docs/api
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</p>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<p>
|
2001-08-08 10:49:01 +08:00
|
|
|
System Interface Definitions, Issue 7 (IEEE Std. 1003.1-200x)
|
|
|
|
The Open Group/The Institute of Electrical and Electronics Engineers, Inc.
|
|
|
|
In particular see lines 5268-5427.
|
|
|
|
http://www.opennc.org/austin/docreg.html
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</p>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<p> GNU gettext tools, version 0.10.38, Native Language Support
|
2001-08-08 10:49:01 +08:00
|
|
|
Library and Tools.
|
|
|
|
http://sources.redhat.com/gettext
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</p>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<p>
|
2001-08-08 10:49:01 +08:00
|
|
|
Langer, Angelika and Klaus Kreft, Standard C++ IOStreams and Locales,
|
|
|
|
Advanced Programmer's Guide and Reference, Addison Wesley Longman,
|
|
|
|
Inc. 2000. See page 725, Internationalized Messages.
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</p>
|
2001-08-08 10:49:01 +08:00
|
|
|
|
2001-09-18 07:24:40 +08:00
|
|
|
<p>
|
2001-08-08 10:49:01 +08:00
|
|
|
Stroustrup, Bjarne, Appendix D, The C++ Programming Language, Special Edition, Addison Wesley, Inc. 2000
|
Makefile: Use more portable shell wildcard.
2002-09-05 Jonathan Wakely <jw@kayari.org>
* docs/html/Makefile: Use more portable shell wildcard.
* docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/explanations.html, docs/html/install.html,
docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
docs/html/17_intro/license.html, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
docs/html/27_io/howto.html, docs/html/ext/howto.html,
docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
to XHTML.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r56845
2002-09-05 23:47:54 +08:00
|
|
|
</p>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|