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" <[EMAIL PROTECTED]> To: "James Developers List" <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
