开发者

ASP.NET: Why Localize strings?

I'm just getting started using Resharper with VS-2008, and one of the 'errors' it gave me was to loca开发者_如何学Golize a Label's text in the code-behind. I've worked with Localization before to Localize a website from english into french, but I don't understand what the benefit is to localizing beside that usage.


If it's an internal application that you're not going to be distributing, there's not much of a benefit to it. It may be handy to collect all your strings in one central location for easy maintenance later, but only you know whether that's worth the effort on your specific project.


That's a bit like asking what the benefit of addition is beyond adding two numbers together.

Localization is generally about presenting the most relevant user experience to each user with minimal code changes - giving each user a "skin" using their language and regional settings (e.g. for things like formatting numbers appropriately).

Granted very many web sites aren't localized at all, but R# is prompting you do give your users the best possible experience :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜