开发者

Does .Net / Visual Studio support foreign language keywords for non English speaking cultures?

开发者 https://www.devze.com 2023-01-08 02:17 出处:网络
I was wondering whether the majority of non English speaking cultures, especially in Europe, tend to develop their .Net code in their native language or in English?

I was wondering whether the majority of non English speaking cultures, especially in Europe, tend to develop their .Net code in their native language or in English?

My personal assumption is that there would be a tendency to keep the code in English in order to ensure maintenance is possible across teams operating in different culture开发者_Python百科s. Also, would the fact that so much of the language and documentation provided is in English also be a major bearing in how the solution was provided?

Does Visual Studio also provide a means to provide .Net keywords as a localised version so that for instance a German developer can write "class" as "Klasse"?


No. C# is it's own language. The keywords are not translated.

I am Norwegian and I prefer documentation and manuals in English. I don't know many developers here that prefer Norwegian to English in technical literature.

Personally, I also prefer to give variables and classes English names, because somehow it flows better when reading the source code.

VBA and Excel functions are sometimes translated, and it is very hard for me to guess what the functions and keywords are called in Norwegian. Also it makes it impossible to reuse templates from international sources.


Whilst you could create your class names and variables (and of course comments) in a native language, the language keywords are fixed by the language specification itself.

C# is in fact an ECMA standard (334).

0

精彩评论

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