如何更改ubuntu终端的语言(语言环境)?

时间:2014-12-09 19:27:31

标签: ubuntu terminal locale ubuntu-14.04 gnome-terminal

我希望能够在我的终端éùòà ...

中使用ascii caracters

这是我的语言环境

% locale                                               :( 1 14-12-09 - 14:13:17
LANG=
LANGUAGE=en_CA:en
LC_CTYPE=
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

在我的语言环境文件中......

% cat /etc/default/locale                                   14-12-09 - 14:13:24
LANG=fr_FR.UTF-8
#LANGUAGE="en_CA:en"


% locale -a                                                 14-12-09 - 14:25:42
C
C.UTF-8
POSIX
de_CH.utf8
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
en_CA
en_CA.iso88591
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZM
en_ZM.utf8
en_ZW.utf8
fr_CA
fr_CA.iso88591
fr_CA.utf8
fr_FR
fr_FR.iso88591
fr_FR.utf8
pt_BR.utf8

我系统上的原始语言环境是#LANGUAGE =" en_CA:en" 为什么当我添加法语区域设置时,它会更改' LANGUAGE'到' LANG'

以前这是the step我为了设置我的语言环境而做的

sudo locale-gen fr_FR
sudo locale-gen fr_FR.UTF-8
sudo dpkg-reconfigure locales
sudo update-locale LANG=fr_FR.UTF-8

我支持的区域设置

        % check-language-support                                    14-12-09 - 14:14:02
        hunspell-en-ca kde-l10n-engb libreoffice-help-en-gb 
    libreoffice-l10n-en-gb libreoffice-l10n-en-za mythes-en-au 
thunderbird-locale-en-gb

% cat /var/lib/locales/supported.d/local                    14-12-09 - 14:20:54
en_CA.UTF-8 UTF-8
en_US.UTF-8 UTF-8
fr_CA ISO-8859-1
fr_CA.UTF-8 UTF-8
pt_BR.UTF-8 UTF-8
fr_FR ISO-8859-1
fr_FR.UTF-8 UTF-8
en_CA ISO-8859-1

我退出并重新登录,但我放入终端的任何ascii字符都无法正常工作。

0 个答案:

没有答案