是 Visual C++库 DLL 本地化了吗?
在 Windows 上部署 C++ 应用程序时,我们包含 Visual C++ 运行时库,即使用 Microsoft_VC90_CRT_x86.msm 等合并模块。
当我们针对其他语言(西班牙语、葡萄牙语、德语等)时,我们是否需要这些库的本地化版本,或者它们是通用的吗?
如果您可以提供“直接来自源头”的链接,那将是最有帮助的。也欢迎任何实践经验。
We include the Visual C++ runtime libraries when deploying our c++ application on Windows, i.e. using merge modules like Microsoft_VC90_CRT_x86.msm.
Do we need a localized version of those libraries when targeting other languages (Spanish, Portuguese, German, etc.), or are they generic?
If you could provide a link "straight from the source," that would be most helpful. Any practical experience is welcome as well.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
MFC 具有本地化的 DLL 和一个合并模块来安装相应的 DLL: http://msdn .microsoft.com/en-us/library/ms235264.aspx
主要的 Visual C++ 运行时似乎没有该功能。
MFC has localized DLLs and a merge module to install the appropriate one: http://msdn.microsoft.com/en-us/library/ms235264.aspx
The main Visual C++ runtime doesn't appear to have that.
CRT 不可本地化。有一些错误消息,全部用#define 语句用英语硬编码。您可以在 crt\src\cmsgs.h 中找到它们。
用户可能看到的唯一一个是
一条无用的消息,翻译它并不能使它变得更清晰。
The CRT is not localizable. There are a handful of error messages, all hard-coded in English with #define statements. You'll find them in crt\src\cmsgs.h
The only one that a user is ever liable to see is
A useless message, translating it doesn't make it any clearer.