【发布时间】:2015-10-28 12:25:48
【问题描述】:
我的LANG 设置为sv_SE.UTF-8,但是当我使用 git 时,我看不到任何消息有任何区别(一切都是英文)。这就是为什么我想知道最新版本以及我的版本(git version 2.3.8 (Apple Git-58))有哪些语言可用。
我在 git-scm.com 上搜索时找不到任何东西
【问题讨论】:
-
你确定你
exported 变量正确吗? -
我不确定,但既然我知道该语言存在,我一定会调查它
-
@KurzedMetal
export列出了declare -x LANG="sv_SE.UTF-8"所以我认为它已被导出......但我认为最好在一个新问题中处理。 -
是的,说明导出正确,也试试设置
LC_ALL,检查this post about localization -
发现问题。 OSX 的最新 Git 安装程序自述文件说:
Since Mac OS X does not ship with gettext, this build does not include gettext support. If popular demand requests (via the git issue tracker http://code.google.com/p/git-osx-installer/issues/list) the installer may bundle gettext in the future to provide localization support
标签: git localization