LoginSignup
2
2

More than 5 years have passed since last update.

CentOS7 の言語設定を変える

Posted at

CentOS7 の言語設定を変える

現在の言語設定を確認

$ localectl
   System Locale: LANG=de_DE.UTF-8
       VC Keymap: de
      X11 Layout: de
$

言語設定のリストを表示

$ localectl list-locales
aa_DJ
aa_DJ.iso88591
aa_DJ.utf8
aa_ER
...skipping...
ja_JP
ja_JP.eucjp
ja_JP.ujis
ja_JP.utf8
japanese
japanese.euc

言語設定を日本語に変更

$ localectl set-locale LANG=ja_JP.utf8
==== AUTHENTICATING FOR org.freedesktop.locale1.set-locale ===
Legitimierung ist zum Festlegen der systemweiten Spracheinstellungen erforderlich.
Authenticating as: root
Password: 
==== AUTHENTICATION COMPLETE ===

現在の言語設定を確認

$ localectl
   System Locale: LANG=ja_JP.utf8
       VC Keymap: de
      X11 Layout: de
$ 
2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2