Bug (feature?) in notebook >= 5.7

677 views
Skip to first unread message

jds

unread,
Jan 4, 2019, 8:45:59 PM1/4/19
to Project Jupyter
We currently run notebooks through Firefox using

jupyter notebook --browser firefox

In notebook >= 5.7 the language goes into what appears to be simplified Chinese (sorry if I'm wrong here) and can't be changed (see attached image). Downgrading to notebook 3.6.0 fixes this issue. Tried setting LANG before startup but makes no difference. Python 3.7.2 on Oracle Linux.
notebook_3.7_font.jpeg

Thomas Kluyver

unread,
Jan 7, 2019, 5:02:52 AM1/7/19
to Project Jupyter
The language used in the UI depends on the settings in your browser. Firefox's language settings look like the attached picture. It will use the highest language in the list for which it has translations. At present I don't think there's any way to override this in Jupyter to use a language different from what your browser specifies.

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/68af1e7a-6adb-4240-9cb1-996445fc764a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Screenshot from 2019-01-07 10-00-36.png

jds

unread,
Jan 7, 2019, 7:27:36 PM1/7/19
to Project Jupyter
So then why does it use English for Notebook 5.6 and something else for Notebook 5.7+ using the same browser on the same syatem with no Firefox changes?

Roland Weber

unread,
Jan 8, 2019, 1:18:33 AM1/8/19
to Project Jupyter
IIRC there was a recent change that the browser is no longer launched with a http(s): URL that points to the Jupyter server, but instead with a file: URL that points to a local HTML file containing a redirect to the http(s): URL. Maybe this change somehow interacts or interferes with browser language selection?
Reply all
Reply to author
Forward
0 new messages