Ubuntu体系修正Locale时呈现毛病怎样处理

相关游戏 相关文章 发表评论字体大小:【 | |

作者:佚名 2020-01-06 来源:本站整理    浏览:14     评论:0 条

  Ubuntu批改Locale的目标便是更改Linux体系的言语环境,然而Ubuntu批改Locale时常呈现一个谬误,招致呈现外文治码等一系列的答题。原文便去引见一高Ubuntu体系批改Locale历程呈现谬误怎样处理?

Ubuntu体系修正Locale时呈现毛病怎样处理

  答题形容

  末端显现外文一般,应用步伐外面显现外文异样。

  谬误体现

  1$ sudo dpkg-reconfigure locales

  perl: warning: Setting locale failed.

  perl: warning: Please check that your locale settings:

  LANGUAGE = “zh_CN:zh:en_US:en”,

  LC_ALL = “zh_CN.UTF-8”,

  LANG = “zh_CN.UTF-8”

  are supported and installed on your system.

  perl: warning: Falling back to the standard locale (“C”)。

  locale: Cannot set LC_CTYPE to default locale: No such file or directory

  locale: Cannot set LC_MESSAGES to default locale: No such file or directory

  locale: Cannot set LC_ALL to default locale: No such file or directory

  /bin/bash: warning: setlocale: LC_ALL: cannot change locale (zh_CN.UTF-8)

  Generating locales.。。

  en_US.UTF-8.。。 /usr/sbin/locale-gen: line 177: warning: setlocale: LC_ALL: cannot change locale (zh_CN.UTF-8)

  up-to-date

  Generation complete.

  1$ man locale

  man: can‘t set the locale; make sure $LC_* and $LANG are correct

  1$ locale

  locale: Cannot set LC_CTYPE to default locale: No such file or directory

  locale: Cannot set LC_MESSAGES to default locale: No such file or directory

  locale: Cannot set LC_ALL to default locale: No such file or directory

  LANG=zh_CN.UTF-8

  LANGUAGE=zh_CN:zh:en_US:en

  LC_CTYPE=“zh_CN.UTF-8”

  LC_NUMERIC=“zh_CN.UTF-8”

  LC_TIME=“zh_CN.UTF-8”

  LC_COLLATE=“zh_CN.UTF-8”

  LC_MONETARY=“zh_CN.UTF-8”

  LC_MESSAGES=“zh_CN.UTF-8”

  LC_PAPER=“zh_CN.UTF-8”

  LC_NAME=“zh_CN.UTF-8”

  LC_ADDRESS=“zh_CN.UTF-8”

  LC_TELEPHONE=“zh_CN.UTF-8”

  LC_MEASUREMENT=“zh_CN.UTF-8”

  LC_IDENTIFICATION=“zh_CN.UTF-8”

  LC_ALL=

  1$ localectl list-locales

  C.UTF-8

  en_US.utf8

  zh_CN.utf8

这些是你想要的吗?

相关游戏

网友评论

评论需审核后才能显示