hg:如何更改Mercurial(hg)安装的语言? (苹果系统) [英] hg: How do I change the language of my Mercurial(hg) installation? (MacOS)
本文介绍了hg:如何更改Mercurial(hg)安装的语言? (苹果系统)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
昨天我在Mac(雪豹)上重新安装了mercurial. Mercurial的UI/控制台语言已从英语更改为丹麦语.我的机器设置为美国英语,键盘布局为丹麦语.我不希望丹麦语翻译活跃,因为它不完整.
I re-installed mercurial on my Mac (snow leopard) yesterday. The UI/console language of Mercurial has changed from English to Danish. My machine is set up to US-English and my keyboard layout is Danish. I do not want the Danish translation active as it is incomplete.
我只需要Mercurial再次说"英语即可. :-)我该如何更改?
推荐答案
如果将LANG环境变量设置为en_US.UTF-8,则可以更改Mercurial客户端(Hg)的语言.
If you set your LANG environment variable to en_US.UTF-8 your can change the language of the Mercurial client (Hg).
export LANG=en_US.UTF-8
这篇关于hg:如何更改Mercurial(hg)安装的语言? (苹果系统)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文