4
3

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 1 year has passed since last update.

windows上の Jupyer Notebook のUI日本語化

Last updated at Posted at 2022-02-10

動作環境:windows + Anaconda + Jupyer Notebook

#Jupyer Notebook のUIを日本語にする方法。
管理者権限でPowerShellを開いて下記コマンドを叩く。

[System.Environment]::SetEnvironmentVariable("LANG", "ja_JP", "User") 

PCを再起動するとJupyer Notebook のUIが日本語になる。

##解説
jupyer notebook は起動時に環境変数LANG読み取る仕様。
そこで、UNIXでいうところの $export LANG="ja_JP"をwindows上で行っている。
windowsからすると無用の環境変数と思われる。

##ソース
https://github.com/jupyter/notebook/tree/5.7.x/notebook/i18n#how-the-language-is-selected-

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?