You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by b....@valbosoft.com on 2008/09/22 12:44:54 UTC

TurbineLocalizationService




Hello,

I have developped an application that allows the user to change the
language, and the application continues to use that language during the
session. I could find no other way that to change
TurbineLocalizationService and override getLocale. However, this is a final
method. In the end I've copied the entire class. I don't like this solution
though, because of portability reasons.

Would it be possible to change final public Locale
getLocale(HttpServletRequest req)
to public Locale getLocale(HttpServletRequest req)?

Best regards, Bo


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@turbine.apache.org
For additional commands, e-mail: dev-help@turbine.apache.org


Re: TurbineLocalizationService

Posted by Thomas Vandahl <tv...@apache.org>.
b.v.weert@valbosoft.com wrote:
> Would it be possible to change final public Locale
> getLocale(HttpServletRequest req)
> to public Locale getLocale(HttpServletRequest req)?

I'd suggest to use Turbine 2.3.3-RC1 which has this problem solved.

Bye, Thomas.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@turbine.apache.org
For additional commands, e-mail: dev-help@turbine.apache.org