昨天我关闭了我的电脑,今天当我打开它并登录到 12.04 时,某些字符串是日文/中文(我不知道如何区分两者)。字符串是:
我怎样才能把一切都改回英文?
我在 Ubuntu 12.04 中使用 Gnome classic。
由于一些奇怪的原因,我丢失了一些locale设置。我已经设法使用sudo dpkg-reconfigure locales以下方法恢复了其中的大部分:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
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
Run Code Online (Sandbox Code Playgroud)
所以我被一个缺失值困住了:
$ locale
locale: Cannot set LC_MESSAGES to default locale: No …Run Code Online (Sandbox Code Playgroud)