[docs] docs - racke modified 2 files
docs@interchange.redhat.com
docs@interchange.redhat.com
Mon Feb 11 10:08:00 2002
User: racke
Date: 2002-02-11 15:07:55 GMT
Modified: . icconfig.sdf ictemplates.sdf
Log:
it occurred to me that ScratchDefault is the most convenient way to set
the default locale for a catalog
Revision Changes Path
1.57 +11 -3 docs/icconfig.sdf
rev 1.57, prev_rev 1.56
Index: icconfig.sdf
===================================================================
RCS file: /anon_cvs/repository/docs/icconfig.sdf,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- icconfig.sdf 23 Jan 2002 18:40:02 -0000 1.56
+++ icconfig.sdf 11 Feb 2002 15:07:55 -0000 1.57
@@ -1,10 +1,10 @@
!init OPT_LOOK="akopia"; OPT_STYLE="manual"
-# $Id: icconfig.sdf,v 1.56 2002/01/23 18:40:02 mheins Exp $
+# $Id: icconfig.sdf,v 1.57 2002/02/11 15:07:55 racke Exp $
!define DOC_NAME "Configuration Reference"
!define DOC_TYPE ""
!define DOC_CODE "icconfig"
-!define DOC_VERSION substr('$Revision: 1.56 $',11, -2)
+!define DOC_VERSION substr('$Revision: 1.57 $',11, -2)
!define DOC_STATUS "Draft"
!define DOC_PROJECT "Interchange"
!define DOC_URL "http://interchange.redhat.com/doc/icadvanced.html"
@@ -2003,12 +2003,20 @@
H2: ScratchDefault
-The default scratch variable settings that the user will start with when their session is initialized. To disable placing URL rewrite strings after the user has given a cookie, set:
+The default scratch variable settings that the user will start with when their session is initialized.
+
+To disable placing URL rewrite strings after the user has given a cookie, set:
!block example
ScratchDefault mv_no_session_id 1
ScratchDefault mv_no_count 1
ScratchDefault mv_add_dot_html 1
+!endblock
+
+To set the default locale:
+
+!block example
+ ScratchDefault mv_locale de_DE
!endblock
H2: ScratchDir
1.31 +11 -2 docs/ictemplates.sdf
rev 1.31, prev_rev 1.30
Index: ictemplates.sdf
===================================================================
RCS file: /anon_cvs/repository/docs/ictemplates.sdf,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- ictemplates.sdf 29 Dec 2001 21:14:04 -0000 1.30
+++ ictemplates.sdf 11 Feb 2002 15:07:55 -0000 1.31
@@ -1,10 +1,10 @@
!init OPT_LOOK="akopia"; OPT_STYLE="manual"
-# $Id: ictemplates.sdf,v 1.30 2001/12/29 21:14:04 jon Exp $
+# $Id: ictemplates.sdf,v 1.31 2002/02/11 15:07:55 racke Exp $
!define DOC_NAME "Template Guide"
!define DOC_TYPE ""
!define DOC_CODE "ictemplates"
-!define DOC_VERSION substr('$Revision: 1.30 $',11, -2)
+!define DOC_VERSION substr('$Revision: 1.31 $',11, -2)
!define DOC_STATUS "Draft"
!define DOC_PROJECT "Interchange"
!define DOC_URL "http://interchange.redhat.com/doc/ictemplates.html"
@@ -2902,6 +2902,15 @@
H1: Internationalization
Interchange has a rich set of internationalization (I18N) features that allow conditional message display, differing price formats, different currency definitions, price factoring, sorting, and other settings. The definitions are maintained in the catalog.cfg file through the use of built-in POSIX support and Interchange's C<Locale> directive. All settings are independent for each catalog and each user visiting that catalog, since customers can access the same catalog in an unlimited number of languages and currencies.
+
+H2: Configuring the Locale
+
+It is recommended to use the C<ScratchDefault> directive for setting the
+catalog's default locale:
+
+!block example
+ ScratchDefault mv_locale de_DE
+!endblock
H2: Setting the Locale