当我输入时,我有以下语言环境设置export
:
declare -x LANG="es_ES.ISO-8859-1"
declare -x LANGUAGE="es:en"
declare -x LC_ADDRESS="ms_MY.UTF-8"
declare -x LC_IDENTIFICATION="ms_MY.UTF-8"
declare -x LC_MEASUREMENT="ms_MY.UTF-8"
declare -x LC_MONETARY="ms_MY.UTF-8"
declare -x LC_NAME="ms_MY.UTF-8"
declare -x LC_NUMERIC="ms_MY.UTF-8"
declare -x LC_PAPER="ms_MY.UTF-8"
declare -x LC_TELEPHONE="ms_MY.UTF-8"
declare -x LC_TIME="ms_MY.UTF-8"
我是住在马来西亚的西班牙人,所以我实际上希望我的系统是西班牙语,但国家/地区设置为马来西亚。我实际上不知道我是否设置正确。
现在,我尝试启动最近安装的应用程序git-gui
(以及其他一些应用程序),但只收到以下错误消息:
$ git-gui
We are sorry, command-not-found failed! Please send a bug report at:
https://bugs.launchpad.net/command-not-found/+filebug
Please attach the following info to the report:
command-not-found version: 0.3
Python version: 3.3.1 final 0
Distributor ID: Ubuntu
Description: Ubuntu 13.04
Release: 13.04
Codename: raring
Exception information:
unsupported locale setting
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/CommandNotFound/util.py", line 24, in crash_guard
callback()
File "/usr/lib/command-not-found", line 69, in main
enable_i18n()
File "/usr/lib/command-not-found", line 40, in enable_i18n
locale.setlocale(locale.LC_ALL, '')
File "/usr/lib/python3.3/locale.py", line 541, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
所以我该如何修复我的语言环境?怎样的设置才适合我的系统,才能满足我的要求以及诸如此类的应用程序的要求git-gui
?