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
To add to that, Jupyter uses the webbrowser module to launch your browser.
Here it is in the code:
https://github.com/jupyter/notebook/blob/31c2184d011e2a6b78d02f6039f0da4273a2cfb5/notebook/notebookapp.py#L1732
So if you're seeing different behaviour from calling webbrowser.get()
yourself, it can
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