Oops, I meant http://202.177.217.122:8080/jumpstart/examples/localization/bymessagecatalog
.
On 20/09/2008, at 1:14 AM, Geoff Callender wrote:
Not sure if I'm answering your question, but there's also
@Inject
private Locale _currentLocale;
For an example of it in action try ht
Do you know, what locale gets injected here (ThreadLocale's, Request's or PersistentLocale's)? The
docs just say "The locale of the component" so I'd guess ThreadLocale's, but I'm not sure...
Uli
Geoff Callender schrieb:
Not sure if I'm answering your question, but there's also
@Inject
Not sure if I'm answering your question, but there's also
@Inject
private Locale _currentLocale;
For an example of it in action try http://localhost:8080/jumpstart/examples/localization/bymessagecatalog
.
Geoff
On 20/09/2008, at 12:19 AM, José Paumard wrote:
Ulrich,
Many tha
Ulrich,
Many thanks for your very precise answer ! Indeed threadLocale.getLocale() is the way to go.
José
Ulrich Stärk a écrit :
I'm not 100% firm in this area but I believe that the user's locale
gets stored in the ThreadLocale service. This service is responsible
for storing the current
I'm not 100% firm in this area but I believe that the user's locale gets stored in the ThreadLocale
service. This service is responsible for storing the current thread's locale, i.e. the locale for
which pages, messages etc. are being generated. The locale in ThreadLocale gets set by a combinatio
Hello all,
I know this looks like a faq, but to be sure, is T5 supposed to set the
current locale (the one we get by calling persistentLocale.get()) on
each request, and does it work ? My problem is that I get null when I
call persistentLocale.get(), with a locale set when I call
request.getL