gentoo最新的更新新闻 - 2013-08-23 emerge的日志和输出的消息语言默认仅支持英文了

来源:互联网 发布:三国群英战辅助软件 编辑:程序博客网 时间:2024/05/29 17:21

这是最近一次gentoo的更新新闻, 抽空翻译了下,


中文:
  标题: emerge的日志和输出的消息语言
  作者: Andreas K. Huettel
  日期: 2013-08-23
  修订: 第一次修订

即日起, emerge的消息与日志将默认使用英文而不再使用系统locale。 这么调整的目
的是简化捉虫者与包维护者的工作, 因为他们或许会非常费劲的查看其他语言的构建日
志。除了emerge输出的消息这项改动不会造成任何影响。

比如, 如果你的确想在构建过程中查看本地化的构建出错消息, 你需要在
/etc/portage/make.conf中设置LC_MESSAGES。不过请注意我们不建议向Gentoo 
Bugzilla提交本地化语言的构建日志。如果包维护者不能从你提供的构建日志翻译得到
必要的信息, 你提交的臭虫会被标为“需要信息“(NEEDINFO)并被关闭, 并且在你能做
其他动作之前, 你可能会被要求提交一份英文构建日志[注1]重新打开(re-open)这个
臭虫。

更多关于本地化的细节, 请移步
https://wiki.gentoo.org/wiki/Localization/HOWTO

[注1] LC_MESSAGES=C emerge ...


原文:

  Title                     Language of messages in emerge logs and output
  Author                    Andreas K. Huettel <dilfridge@gentoo.org>
  Posted                    2013-08-23
  Revision                  1

As of today, messages and logs of emerge do not use the system 
locale anymore but default to English. The intention behind this
is to ease the work of bug wranglers and package maintainers, 
who may have a hard time reading build logs in foreign 
languages. This change only affects the language of messages 
in emerge output, nothing else.

If you really want to have e.g. localized compiler error messages
in your builds, set LC_MESSAGES in your /etc/portage/make.conf.
Note that submitting localized build logs to the Gentoo Bugzilla
is discouraged. If maintainers are unable to translate the 
necessary information from the build log, your bug may be closed
as NEEDINFO and you may be asked to re-open it submitting an 
English build log [1] before any further action can be taken.

For more details with respect to localization, see
https://wiki.gentoo.org/wiki/Localization/HOWTO

[1] LC_MESSAGES=C emerge ...