我希望用户界面是英文的,但周/月名称是其他语言的(比如法语、西班牙语、意大利语等)。
好像当我将 UI 设置为英语时,就无法控制星期/月份名称了。我只能更改日历类型和其他类似设置。
如果您的母语不是英语,但您更喜欢使用英文界面,那么这种设置非常有用。
我在 Ubuntu 14.04 中使用 KDE
更新:
运行后sudo update-locale LC_TIME=it_IT.UTF-8
我收到此错误:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en:it:fr:en",
LC_ALL = (unset),
LC_PAPER = "en_IT.UTF-8",
LC_ADDRESS = "en_IT.UTF-8",
LC_MONETARY = "en_IT.UTF-8",
LC_NUMERIC = "en_IT.UTF-8",
LC_TELEPHONE = "en_IT.UTF-8",
LC_IDENTIFICATION = "en_IT.UTF-8",
LC_MEASUREMENT = "en_IT.UTF-8",
LC_TIME = "en_IT.UTF-8",
LC_NAME = "en_IT.UTF-8",
LANG = "en_IT.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
更新 2:输出local -a
(现在我在选项中不再选择法语)
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_COLLATE to default locale: No such file or directory
C
C.UTF-8
POSIX
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
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
it_CH.utf8
it_IT.utf8