summaryrefslogtreecommitdiffstats
path: root/doc/msgcat.n
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 /doc/msgcat.n
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.
Diffstat (limited to 'doc/msgcat.n')
-rw-r--r--doc/msgcat.n5
1 files changed, 4 insertions, 1 deletions
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