3

As my jupyter notebook gives warnings in French, is there an easy way to switch to English?

(I am on macOS 10.12.2, with jupyter 4.2.1, using R kernel)

jjrr
  • 1,038
  • 2
  • 13
  • 26
  • What happens when you run `locale` on the OS X command line? – Keith Hughitt Jan 22 '17 at 14:20
  • here is the output: ```LANG= LC_COLLATE="C" LC_CTYPE="C" LC_MESSAGES="C" LC_MONETARY="C" LC_NUMERIC="C" LC_TIME="C" LC_ALL=``` – jjrr Jan 22 '17 at 14:41
  • One thing you can try is to manually set your locale in your `~/.profile` file (see http://stackoverflow.com/a/8161863/554531). I didn't see any explicit language/locale options in Jupyter, so there is a reasonable chance it is simply auto-detected. – Keith Hughitt Jan 22 '17 at 15:42

1 Answers1

2

It seems to work, just by adding these two lines, as suggested in the last answer of this other question

export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

credits to Keith Hughitt

Community
  • 1
  • 1
jjrr
  • 1,038
  • 2
  • 13
  • 26