如何在Windows控制台中设置LOCALE [英] How to set LOCALE in Windows console

查看:1232
本文介绍了如何在Windows控制台中设置LOCALE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要为单个控制台设置区域设置.我想构建Apache Wicket框架(基于Maven的构建),但是它在依赖于en_US语言环境的测试中失败. 我不想跳过测试. 我不想跳过特定的失败测试.

I need to set locale for a single console. I want to build Apache Wicket framework (Maven-based build), but it fails on test which relies on en_US locale. I don't want to skip tests. I don't want to skip the particular failing tests.

有可能吗?还是更改系统范围语言环境的唯一方法?

Is it possible? Or is changing the system-wide locale the only way?

谢谢

推荐答案

没有关于Wicket的内容,我自己也没有做过.但是,一点点的谷歌使我想到了这一点: 回复:maven-surefire-plugin和默认语言环境其中再次导致使用系统属性的Surefire插件.

Nothing Wicket specific and I have not done this myself. But, a little bit of google led me to this: Re: maven-surefire-plugin and default locale which again leads to Surefire Plugin Using System Properties.

希望有帮助

这篇关于如何在Windows控制台中设置LOCALE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆