【发布时间】:2009-11-16 10:59:29
【问题描述】:
我有一个 asp.net 应用程序,它使用 html 模板生成内容并将其发送到电子邮件中。读取html文件的代码为-
private string LoadHtml(string HtmlFile) {
Assembly asm = Assembly.GetExecutingAssembly();
Stream stream = asm.GetManifestResourceStream(asm.GetName().Name +
"." + HtmlFile);
StreamReader r = new StreamReader(stream);
string html = r.ReadToEnd();
return html;
}
由于我们正在国际化进程中,我需要本地化 html 模板,有人可以帮我实现吗?
谢谢。
【问题讨论】:
标签: html localization internationalization globalization