Многоликий класс CultureInfo — .NET-приложения станут дружелюбнее к пользователю

by Michael S. Kaplan, published on 2005/06/24 22:01 -04:00, original URI: http://blogs.msdn.com/b/michkap/archive/2005/06/24/432492.aspx


Remember that article I wrote for the March 2005 MSDN Magazine entitled Make the .NET World a Friendlier Place with the Many Faces of the CultureInfo Class? Well, as title of this post hints, it has been translated into Russian! :-)

(This post is also an experiement to see if Russian text will work in Community Server, both in the title and in trackbacks!)

See it now at Многоликий класс CultureInfo — .NET-приложения станут дружелюбнее к пользователю. Check out the localized code identifiers and comments -- easy to do with C# where you can ave your source files as UTF-8 and have comments and variable names in any language....

(via Stephen Toub)


# Alex Moskalyuk on 24 Jun 2005 10:52 PM:

Статья полезная, спасибо.

# mihailik on 25 Jun 2005 2:18 AM:

Good article, Michael. I have read it earlier in English, but there are some developers that too lazy for English articles :-)

Michael, you said "localized code identifiers", but actually identifiers stays english there.

Russian developer community have bunch of flame around variable names localization. Namely, most speakers share the though that identifiers MUST NOT be localized. Comments — yes, identifiers — no.

The primary cause is extremely slow typing. Switching EN/RU, RU/EN requires hands movement stop and special attention to look at screen bottom: 'is current local right?'

Another cause: VS Intellisense doesn't works with Russian identifiers.

Also .NET Naming Guidelines claims some english-named prefixes and suffixes. Such as 'I' prefix for interfaces and 'Exception' suffix for exceptions.

Also Russian language have too many word forms. There is no common well-defined rules on what form to use in what place.

So Russian localization of identifiers breaks programmer-to-programmer communication.

# Michael S. Kaplan on 25 Jun 2005 3:35 AM:

Thanks for the info, mihailik -- definitely good to know. :-)

And of course, glad you liked the article!

referenced by

2006/12/14 In the new MSDN Magazine -- Unicode and Microsoft, and Vista

go to newer or older post, or back to index or month or day