如果 locale-gen
執行後雖然看到成功訊息, 但是執行 locale -a
卻看不到生成的語系, 很可能是生成語系的設定檔中該語系被註解掉了, 像是這樣:
$ sudo cat /etc/locale.gen | grep zh_TW
# lzh_TW UTF-8
# zh_TW BIG5
# zh_TW.EUC-TW EUC-TW
# zh_TW.UTF-8 UTF-8
只要把註解移除, 再重新產生語系檔即可。
如果 locale-gen
執行後雖然看到成功訊息, 但是執行 locale -a
卻看不到生成的語系, 很可能是生成語系的設定檔中該語系被註解掉了, 像是這樣:
$ sudo cat /etc/locale.gen | grep zh_TW
# lzh_TW UTF-8
# zh_TW BIG5
# zh_TW.EUC-TW EUC-TW
# zh_TW.UTF-8 UTF-8
只要把註解移除, 再重新產生語系檔即可。
For further actions, you may consider blocking this person and/or reporting abuse
Oliver Bennet -
Jimmy McBride -
LocKtaR-o-DarK -
Sunny Bhambhani -
Top comments (0)