3
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

WSLのUbuntu18.04 LTSの超手抜き日本語設定

Posted at

はじめに

Windows 10で利用可能なWSLのUbuntu 18.04LTS導入直後は日本語設定されてないので、備忘録として記録しております。

超手抜き手順

apt -y install language-pack-ja-base language-pack-ja ibus-mozc
update-locale LANG=ja_JP.UTF-8 LANGUAGE=”ja_JP:ja”

ここで
update-locale: Error: invalid locale settings: LANG=ja_JP.UTF-8
のエラーが出た場合は
localedef -i ja_JP -c -f UTF-8 -A /usr/share/locale/locale.alias ja_JP.UTF-8
を実施。

update-locale LANG=ja_JP.UTF-8 LANGUAGE"ja_JP:ja"
source /etc/default/locale

以上

3
5
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
3
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?