开发者

Sonar display violation message in french

I recently install sonar server and some plug in and i have a strange language issue when sonar displays violation messages, it displays messages in French.

How can i force sonar to display message in Engli开发者_JS百科sh?


Have you tried looking at the settings on the sonar admin page?

Worse case you could set '-Duser.region=GB -Duser.language=EN' on the script that runs the sonar java process.

Sounds like an odd one


As emeraldjava said, some message are localized according to the settings of the JVM which ran the analysis.

If you are using Jenkins you will find the solution here.

If, like me, you are using the maven plugin (mvn sonar:sonar), you can define the environment variable MAVEN_OPTS as -Duser.region=US -Duser.language=en...

For example, the message '31' devrait être défini comme une constante became '31' is a magic number after I set the variable and ran an other analysis.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜