使用者工具

網站工具


tech:ubuntulocale

Ubuntu 改語系方式

  • LXC 內作法 Exp. 改成中文 zh_TW.UTF-8
    vi /etc/defaulat/locale
    #  File generated by update-locale
    LANG="zh_TW.UTF-8"
    LC_NUMERIC="zh_TW.UTF-8"
    LC_TIME="zh_TW.UTF-8"
    LC_MONETARY="zh_TW.UTF-8"
    LC_PAPER="zh_TW.UTF-8"
    LC_NAME="zh_TW.UTF-8"
    LC_ADDRESS="zh_TW.UTF-8"
    LC_TELEPHONE="zh_TW.UTF-8"
    LC_MEASUREMENT="zh_TW.UTF-8"
    LC_IDENTIFICATION="zh_TW.UTF-8"
  • 重新建立相關語系設定
    sudo locale-gen zh_TW.UTF-8
  • 登出後登入就可以看到更改的結果

參考網址

tech/ubuntulocale.txt · 上一次變更: 2020/10/22 15:20 由 jonathan_tsai