On 6/3/07, Bernd Fondermann <[EMAIL PROTECTED]> wrote:
On 6/3/07, robert burrell donkin <[EMAIL PROTECTED]> wrote:
> (still trying to get my head around some of the details of a
> reasonable IMAP design)
>
> the IMAP protocol returns a lot of messages which must be appropriate
> for display on the client. ATM these messages are just hard-coded
> strings. it would probably be good to be able to reasonably easily
> localise them based on the user.
>
> opinions?
does IMAP provide a mechanism to signal a client's locale?
RFC rfc2060 (IMAP4rev1) does not
i know of no other relevant RFCs but i'm not an expert
it would be possible to associated preferred locale with a user
if yes, ResourceBundle provides a "reasonable easy" way to get there.
As I am sure you are away of this java feature, do you see any
downsides to this approach?
personally, no
in some ways being able to support i18n in JAMES would mean some
design changes such as supporting i18able exceptions.
- robert
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]