summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-29 19:27:28 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-29 19:27:28 (GMT)
commite1bc079650ef86bdd0aef6ebce3fd2443ecea91a (patch)
tree37c7d4b84869bd92ffcfcd739d23c3a6030c3ce3 /doc
parentf490a622dec189accf0e16e3321d30d44c0821ea (diff)
downloadtcl-e1bc079650ef86bdd0aef6ebce3fd2443ecea91a.zip
tcl-e1bc079650ef86bdd0aef6ebce3fd2443ecea91a.tar.gz
tcl-e1bc079650ef86bdd0aef6ebce3fd2443ecea91a.tar.bz2
translate script parameters for msgcatbug_3536888
update msgcat doc
Diffstat (limited to 'doc')
-rw-r--r--doc/msgcat.n15
1 files changed, 9 insertions, 6 deletions
diff --git a/doc/msgcat.n b/doc/msgcat.n
index 00141ad..c2c0abd 100644
--- a/doc/msgcat.n
+++ b/doc/msgcat.n
@@ -13,7 +13,7 @@ msgcat \- Tcl message catalog
.SH SYNOPSIS
\fBpackage require Tcl 8.5\fR
.sp
-\fBpackage require msgcat 1.4.2\fR
+\fBpackage require msgcat 1.4.5\fR
.sp
\fB::msgcat::mc \fIsrc-string\fR ?\fIarg arg ...\fR?
.sp
@@ -165,11 +165,14 @@ to extract its parts. The initial locale is then set by calling
.CS
language[_country][_modifier]
.CE
-On Windows, if none of those environment variables is set, msgcat will
-attempt to extract locale information from the
-registry. If all these attempts to discover an initial locale
-from the user's environment fail, msgcat defaults to an initial
-locale of
+On Windows and Cygwin, if none of those environment variables is set,
+msgcat will attempt to extract locale information from the registry.
+From Windows Vista on, the RFC4747 locale name "lang-script-country-options"
+is transformed to the locale as "lang_country_script" (Example:
+sr-Latn-CS -> sr_cs_latin). For Windows XP, the language id is
+transformed analoguously (Example: 0c1a -> sr_yu_cyrillic).
+If all these attempts to discover an initial locale from the user's
+environment fail, msgcat defaults to an initial locale of
.QW C .
.PP
When a locale is specified by the user, a