开发者

How to change the language displayed in the report of FindBugs

I am using FindBugs to generate a report for my application by using Ant target. In the report, it is mixed with french 开发者_如何学Pythonand english. Does anybody know to generate a report only with english?

Thanks in advance!

Ikeforward


If you use the downloaded version of findbugs, you can just invoke it with

LANG="C" ./findbugs

Or however you start it, the LANG="C" has to be in the environment. This should work on most (all?) operating systems. There is some documentation about the i18n environment variables at the Open Group. An example how to do this with Ant is available here:

http://findbugs.sourceforge.net/manual/datamining.html#antexample

(asking Google for "ant findbugs language" had this at it's first result, I hope it works)


According to http://findbugs.sourceforge.net/manual/running.html I think that you should use the following

-Duser.language=en

to have the whole thing in English.


Waldheinz's answer may work for you. The more general answer is that you probably need to change the locale that FindBugs is running in. The way to do this depends on how you're running it (command line, or from eclipse, or from ant...) and what operating system you're using. This page may provide you with the rest of the info you need - but probably not. If not, provide specifics.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜