summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorericm <ericm>2000-07-24 18:09:27 (GMT)
committerericm <ericm>2000-07-24 18:09:27 (GMT)
commitceef4e3b16c0df26a54e2fb02ca7f6616140639d (patch)
tree13557a59abfb82959a2e576be6e9b609494bab34
parent52128fffaefb355099f7ce299ab5c685d39a1dd9 (diff)
downloadtcl-ceef4e3b16c0df26a54e2fb02ca7f6616140639d.zip
tcl-ceef4e3b16c0df26a54e2fb02ca7f6616140639d.tar.gz
tcl-ceef4e3b16c0df26a54e2fb02ca7f6616140639d.tar.bz2
* doc/msgcat.n: Added documentation about the selection of the
default locale on Windows.
-rw-r--r--ChangeLog5
-rw-r--r--doc/msgcat.n5
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 486a779..6dc4963 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-07-24 Eric Melski <ericm@ajubasolutions.com>
+
+ * doc/msgcat.n: Added documentation about the selection of the
+ default locale on Windows.
+
2000-07-23 Joe English <jenglish@flightlab.com>
* doc/AddErrInfo.3:
* doc/ChnlStack.3:
diff --git a/doc/msgcat.n b/doc/msgcat.n
index 4d604c9..829a2f5 100644
--- a/doc/msgcat.n
+++ b/doc/msgcat.n
@@ -132,7 +132,10 @@ For example, the locale ``en'' specifies English and
``en_US'' specifes U.S. English.
.PP
The locale defaults to the value in \fBenv(LANG)\fR at the time the
-\fBmsgcat\fR package is loaded. If \fBenv(LANG)\fR is not defined, then the
+\fBmsgcat\fR package is loaded. On Windows, if \fBenv(LANG)\fR is not
+set, the package will attempt to extract locale information from the
+registry. If it cannot find this information in the registry, or on
+non-Windows platforms when \fBenv(LANG)\fR is not defined, the
locale defaults to ``C''.
.PP
When a locale is specified by the user, a ``best match'' search is