【问题标题】:Where can I find a list of languages that Git is localized to?我在哪里可以找到 Git 本地化的语言列表?
【发布时间】: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


【解决方案1】:

您可以在 Git 存储库中找到可用的 gettext PO 文件:https://github.com/git/git/tree/master/po

那个目录里也有一个l10n README

【讨论】:

    猜你喜欢
    • 2012-10-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-06-05
    • 2010-12-03
    • 1970-01-01
    相关资源
    最近更新 更多