Last modified by Pascal Robert on 2015/05/04 04:24

From version 23.1
edited by David Avendasora
on 2011/05/03 04:45
Change comment: There is no comment for this version
To version 22.1
edited by Pascal Robert
on 2011/06/10 10:51
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.avendasora
1 +XWiki.probert
Content
... ... @@ -165,7 +165,7 @@
165 165  
166 166  {{code}}
167 167  
168 - @Override
168 +@Override
169 169   public WOActionResults performActionNamed(String actionName) {
170 170   if(!context().hasSession()) {
171 171   ERXLocalizer localizer =
... ... @@ -175,7 +175,6 @@
175 175   return super.performActionNamed(actionName);
176 176   }
177 177  
178 -
179 179  {{/code}}
180 180  
181 181  That should give the user their browser's default language setting instead of your server's default language setting until a session is created.
... ... @@ -193,3 +193,9 @@
193 193  ===== Localization presentation from WOWODC West 2009 =====
194 194  
195 195  Guido Neitzer did a localization presentation at WOWODC West 2009 that give a good overview of how to localize your apps. The presentation is available [[here>>http://www.wocommunity.org/podcasts/wowodc/west09/WOWODCW09-Localization.mov]].
195 +
196 +=== Localized formatters ===
197 +
198 +Use this property:
199 +
200 +  er.extensions.ERXLocalizer.useLocalizedFormatters=false