无法为我的国家 (CH) 添加英语语言环境?

无法为我的国家 (CH) 添加英语语言环境?

我喜欢我的系统是英文的,但我讨厌这种荒谬的 12 小时 AM/PM 系统。所以我想为瑞士配置语言环境。我发现 en_CHrepo 然后:

$ sudo locale-gen
Generating locales (this might take a while)...
  en_AG.UTF-8... done
  en_AU.UTF-8... done
  en_BW.UTF-8... done
  en_CA.UTF-8... done
  en_CH.UTF-8... done
  en_DK.UTF-8... done
  en_GB.UTF-8... done
  en_HK.UTF-8... done
  en_IE.UTF-8... done
  en_IL.UTF-8... done
  en_IN.UTF-8... done
  en_NG.UTF-8... done
  en_NZ.UTF-8... done
  en_PH.UTF-8... done
  en_SG.UTF-8... done
  en_US.UTF-8... done
  en_ZA.UTF-8... done
  en_ZM.UTF-8... done
  en_ZW.UTF-8... done
Generation complete.

$ locale -a | grep CH
en_CH
en_CH.utf8

$ locale-gen en_CH en_CH.UTF-8
Error: 'en_CH' is not a supported language or locale

不幸的是,它似乎不起作用。我错过了什么?

答案1

你失踪了

sudo dpkg-reconfigure locales

sudo locale-gen

相关内容