根据默认资源文件生成应用程序的资源文件
我有一个 .net 应用程序,当前拥有其所有内容的资源文件,每个 .aspx 和 .ascx 一个。目前只有英文的资源文件。
我现在需要添加另一种语言的资源文件,这意味着我需要复制所有仅包含键而没有值的资源文件,使用正确的区域性扩展名命名的文件,例如西班牙语的 es。
我的应用程序是针对 VS2008 中的 .net 3.5 框架构建的。
有没有办法以上面详细介绍的整个解决方案的格式自动创建/生成新的资源文件?
I have a .net application that currently has resource files for all it's content, one per .aspx and .ascx. Currently there are only resource files for english.
I now need to add resource files for another language which means I need to replicate all the resource files with just the keys and no values, files named with the correct culture extension eg es for spainish.
My application is built against the .net 3.5 framework in VS2008.
Is there any way of automatically creating/generating the new resource files, in the format detailed above for the entire solution?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用这个免费的命令行工具或更复杂的服务,例如Amanuens。
免责声明:我已经构建了该工具,并且我的公司为我链接的服务提供了支持。
You could use this free command line tool or a more sophisticated service like Amanuens.
Disclaimer: I've built the tool and my company is behind the service I've linked.