Hi,
I've got a problem to internationalize my sendmail :
I use a Woody form, then XSP logicsheet as in the sendmail sample, where
i get the values entered by woody and add some text that i need to be
internationalized to compose the body of the mail. I can't use i18n
transformer as the mail seems to be sent during the XSP generation.
Then i planned to do some logic with if statements on the locale. Below
is what i plan to do but i can't get the locale value...I'm thinking
also about doing this in flow.
Any suggestion or method is welcomed !
Phil
----------------------------------------------------------
<xsp:logic>
// (THIS IS NOT CORRECT) getLocale(locale);
if (locale = "en_US") {
String bodymessage = "Message.in any language";
}
}
else {
String bodymessage = "Message in English";
}
</xsp:logic>
<sendmail:send-mail>
........
<sendmail:body><xsp:expr>bodymessage</xsp:expr><xsp-request:get-parameter
name="This_coming_from_woody template"/></sendmail:body>
........
</sendmail:send-mail>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]