Author: cheche
Date: Tue Jun 20 06:46:40 2006
New Revision: 415640
URL: http://svn.apache.org/viewvc?rev=415640&view=rev
Log:
set use-locale true.
This way we can use the user-agent locale (CLI for example)
Modified:
forrest/trunk/main/webapp/sitemap.xmap
Modified: forrest/trunk/main/webapp/sitemap.xmap
URL:
http://svn.apache.org/viewvc/forrest/trunk/main/webapp/sitemap.xmap?rev=415640&r1=415639&r2=415640&view=diff
==============================================================================
--- forrest/trunk/main/webapp/sitemap.xmap (original)
+++ forrest/trunk/main/webapp/sitemap.xmap Tue Jun 20 06:46:40 2006
@@ -228,7 +228,7 @@
<!-- See
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/matching/LocaleMatcher.html
for a description of these parameters -->
<default-locale language="en" country="US"/>
<negotiate>true</negotiate>
- <use-locale>false</use-locale>
+ <use-locale>true</use-locale>
<use-locales>false</use-locales>
<use-blank-locale>true</use-blank-locale>
<locale-attribute>locale</locale-attribute>
@@ -240,7 +240,7 @@
<!-- See
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/acting/LocaleAction.html
for a description of these parameters -->
<!-- FIXME (FOR-887): make these configurable, using same parameters
for LocaleMatcher and LocaleAction -->
<default-locale language="en" country="US"/>
- <use-locale>false</use-locale>
+ <use-locale>true</use-locale>
<store-in-request>false</store-in-request>
<create-session>false</create-session>
<store-in-session>false</store-in-session>