如何在Windows控制台中设置LOCALE

编程入门 行业动态 更新时间:2024-10-27 02:18:37
本文介绍了如何在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

本文发布于:2023-11-06 09:40:11,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1563337.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:控制台   如何在   Windows   LOCALE

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!