deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerhard Petracek <gerhard.petra...@gmail.com>
Subject Re: I18N Module
Date Thu, 09 May 2013 21:25:27 GMT
hi christian,

you could end up with a mixture of messages easily.
what you would need is a LocalResolver which checks the current locale
(based on a list of supported locals + a default locale).

regards,
gerhard



2013/5/9 Christian Beikov <christian.beikov@gmail.com>

> Hello there,
>
> I was just about to configure the I18N module for my needs and hit a
> limitation. The LocalResolver can only return a single Locale which is
> somehow bad. Normally you have various preferences. Are you going to add
> something like:
>
> public Iterable<Locale> getLocales()
>
> to LocaleResolver or is the current design intended to be kind of final?
> --
>
> Mit freundlichen Grüßen,
> ------------------------------**------------------------------**
> ------------
> *Christian Beikov*
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message