简体   繁体   English

Java编译器是否针对不同的语言环境进行翻译?

[英]Are Java compilers translated for different locales?

As a general rule, are Java compilers localised? 作为一般规则,Java编译器是本地化的吗? Are the compilers capable of emitting errors/warnings in languages besides English? 编译器是否能够以英语以外的语言发出错误/警告?

Information on any of the available Java compilers is welcome. 欢迎提供有关任何可用Java编译器的信息。 In fact, historical or technical reasons why localisation is not considered for any language compilers is welcome. 实际上,欢迎使用任何语言编译器来考虑本地化的历史或技术原因。

NOTE: I am not asking this question to solve any problem I have, it is just sheer curiosity. 注意:我不是要问这个问题来解决我遇到的任何问题,这只是纯粹的好奇心。

While I don't know anything about javac localization, I will answer to a part of the question: 虽然我对javac本地化一无所知,但我会回答部分问题:

GCC (the C and C++ compilers at least) are localized in Ubuntu, so localization certainly is done. GCC(至少是C和C ++编译器)本地化在Ubuntu中,所以本地化肯定已经完成。 However, the drawbacks of localization include that it is more difficult to google for the error messages online, or to describe a problem on StackOverflow. 但是,本地化的缺点包括在线谷歌搜索错误消息或在StackOverflow上描述问题更加困难。 Programmers also absolutely must know English, so there is little benefit on localization. 程序员也绝对必须懂英语,所以本地化几乎没有什么好处。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM