[interchange-docs] xmldocs - racke modified refs/setlocale.tag

docs at icdevgroup.org docs at icdevgroup.org
Thu Nov 16 06:39:02 EST 2006


User:      racke
Date:      2006-11-16 11:39:01 GMT
Modified:  refs     setlocale.tag
Log:
examples added

Revision  Changes    Path
1.4       +10 -0     xmldocs/refs/setlocale.tag


rev 1.4, prev_rev 1.3
Index: setlocale.tag
===================================================================
RCS file: /var/cvs/xmldocs/refs/setlocale.tag,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- setlocale.tag	7 Nov 2006 13:09:21 -0000	1.3
+++ setlocale.tag	16 Nov 2006 11:39:01 -0000	1.4
@@ -79,7 +79,17 @@
 &ROW_REPARSE_1;
 __END__
 
+__NAME__ example Use German locale for current page
+<programlisting>
+[setlocale de_DE]
+</programlisting>
+__END__
 
+__NAME__ example Use Croatian locale for complete session
+<programlisting>
+[setlocale locale=hr_HR persist=1]
+</programlisting>
+__END__
 
 LI1: [setlocale locale=locale* currency=locale* persist=1*]
 Immediately sets the locale to C<locale>, and will cause it to persist in future user pages if the C<persist> is set to a non-zero, non-blank value. If the C<currency> attribute is set, the pricing and currency-specific locale keys and Interchange configuration directives are modified to that locale. If there are no arguments, it sets it back to the user's default locale as defined in the scratch variables C<mv_locale> and C<mv_currency>.








More information about the docs mailing list