ubuntu 更改locale

  • A+
所属分类:Linux

查看当前系统语言环境

更改语言环境

现在需将en_US.UTF-8改为zh_US.UTF-8,en改为cn。编辑配置文件如下:

保存后执行locale查看,如果有报如下错误 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_ALL to default locale: No such file or directory 说明没有安装

查看系统安装的locale

安装locale

查看:

weinxin
微信公众号
扫一扫关注运维生存时间公众号,获取最新技术文章~
默北

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: