异常消息 - 始终使用英语或本地化? [英] Exception Messages - Always in English, or localized?

查看:81
本文介绍了异常消息 - 始终使用英语或本地化?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发Visual Studio 2012中的Windows Phone 8应用程序。我在美英Windows 8平台上运行,我的Visual Studio也是美国英语。

I am developing a windows phone 8 app in Visual Studio 2012. I am running on a US-English Windows 8 platform and my Visual Studio is US-English as well.

异常开发的错误消息是否总是用英语,无论我的应用程序的用户在哪个区域?

Are the error messages developed by exceptions always going to be in English, no matter what locale the users of my app are in?

我可以安全地解析错误消息并假设他们将总是用英文?

Can I safely parse the error messages and assume they will always be in English?

谢谢!

推荐答案

理论上,异常中的错误消息不应该直接向最终用户展示,他们是技术支持方面。但是,如果出现问题,这并不能阻止您本地化(注意's')一个很好的消息。

In theory error messages in exceptions should not be shown directly to the end-user, they're a technical support facet. However, that doesn't stop you localising (notice the 's') a nice message-for-user should a problem occur.


这篇关于异常消息 - 始终使用英语或本地化?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆