james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hontvari Jozsef" <hontva...@solware.com>
Subject Re: I18N of mailet parameters?
Date Sat, 28 Jun 2003 05:41:58 GMT
it would be useful, but what language header do you think about? Is this in
a new RFC (new for me, at least :-) ) or is it an internal convention?


----- Original Message ----- 
From: "Jim Janson" <jjanson@adelphia.net>
To: "James Developers List" <james-dev@jakarta.apache.org>
Sent: Friday, June 27, 2003 5:22 PM
Subject: I18N of mailet parameters?


> Hi,
>
> I've been playing around with the new Bounce mailet
> in 2.2a7 and it's working great.  Thanks!  One thing I've
> "noticed" (and this is common to all of the mailets) is parameters
> like "notice" or "prefix" are just plain text that is added to the
> mail message.  Works great if we all speak the same language but
> not so good if the server is handling users with different languages.
>
> One thought was to add a resource bundle name and key names
> as parameters to the mailets.  So, there would be <bundleName>,
> <noticeKey>, <prefixKey>, etc.  The mailets would then look up
> the keys in the specified bundle using the language in the header of the
> mail message.  If no language was specified, the default bundle
> is used.  If the bundle or key can't be found, the existing notice
> or prefix parameter text is used.
>
> What do you think?  Would this functionality be useful?  What
> are the problems with it?
>
> Thanks,
>
> Jim
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: james-dev-help@jakarta.apache.org
>



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


Mime
View raw message