.Net / Visual Studio 是否支持非英语文化的外语关键字?

发布于 2024-09-09 09:27:47 字数 228 浏览 3 评论 0原文

我想知道大多数非英语文化,尤其是欧洲,是否倾向于用母语或英语开发 .Net 代码?

我个人的假设是,人们倾向于保留英文代码,以确保在不同文化中运作的团队之间可以进行维护。此外,所提供的大量语言和文档都是英文的这一事实是否也会对解决方案的提供方式产生重大影响?

Visual Studio 是否还提供了一种方法来提供 .Net 关键字作为本地化版本,以便德国开发人员可以将“class”编写为“Klasse”?

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 cultures. 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"?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

穿越时光隧道 2024-09-16 09:27:47

不。C# 是它自己的语言。关键字未翻译。

我是挪威人,我更喜欢英文文档和手册。我不知道这里有多少开发人员在技术文献中更喜欢挪威语而不是英语。

就我个人而言,我也更喜欢给变量和类起英文名称,因为在阅读源代码时它会更好地流动。

VBA 和 Excel 函数有时会被翻译,我很难猜出这些函数和关键字在挪威语中的名称。此外,它还使得无法重复使用国际来源的模板。

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.

孤独难免 2024-09-16 09:27:47

虽然您可以用母语创建类名和变量(当然还有注释),但语言关键字由语言规范本身固定。

C# 实际上是一个 ECMA 标准 (334)

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).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文