Hello, I want to implement i18n for e-mail messages with both static and dynamic content. Is there any eazy way to do this? Any ready-to-use solutions? I want something similar to Java's Struts frameworks ResourceBundle concept. For example, I want to specify
message's Key and Value like this: key="OrderConfirmationEmail"; value="Dear {0} {1}, Your Order number is {2}. Order total: {3}."; And then, I want to call this Key with dynamic parameters in places of {0},{1}... ArrayList params = new ArrayList(); params.Add("John");
params.Add("Gordon"); params.Add("7283"); params.Add("$829.00"); GetMessage("OrderConfirmationEmail", params); Thanks for any help!
Nicholas11
Member
75 Points
15 Posts
i18n of e-mail messages with static and dynamic content
Apr 29, 2004 07:16 PM|LINK