广告

本站里的文章大部分经过自行整理与测试

2017年8月8日星期二

Ubuntu Gnome 系统语言

1) 系统语言安装

简体中文

$ sudo apt install language-pack-zh-hans language-pack-zh-hans-base language-pack-gnome-zh-hans language-pack-gnome-zh-hans-base
$ sudo localectl set-locale LANG=zh_CN.UTF-8

繁体中文

$ sudo apt install language-pack-zh-hant language-pack-zh-hant-base language-pack-gnome-zh-hant language-pack-gnome-zh-hant-base
$ sudo localectl set-locale LANG=zh_TW.UTF-8

英文

$ sudo apt install language-pack-en language-pack-en-base language-pack-gnome-en language-pack-gnome-en-base
$ sudo localectl set-locale LANG=en_US.UTF-8

日文

$ sudo apt install language-pack-ja language-pack-ja-base language-pack-gnome-ja language-pack-gnome-ja-base
$ sudo localectl set-locale LANG=ja_JP.UTF-8

韩文


$ sudo apt install language-pack-ko language-pack-ko-base language-pack-gnome-ko language-pack-gnome-ko-base
$ sudo localectl set-locale LANG=ko_KR.UTF-8


$ reboot

2) 设置

All Settings - Personal - Region & Language - 

Language:

English (United States) / 
Chinese (China) / 
Chinese (Taiwan) / 
Japanese (Japan) / 
Korean (Korea, Republic of)

Formats: 

United States / China / ..

注销.. 再登入..

查看设置
$ locale

3) 如果步骤 2 不凑效,
再用步骤 1 命令, 重启..

$ sudo localectl set-locale LANG=en_US.UTF-8
$ sudo reboot now
 

没有评论:

发表评论