Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language pack 'en_US' not installed in the dev tools console #16277

Open
jtpio opened this issue May 3, 2024 · 3 comments
Open

Language pack 'en_US' not installed in the dev tools console #16277

jtpio opened this issue May 3, 2024 · 3 comments
Labels

Comments

@jtpio
Copy link
Member

jtpio commented May 3, 2024

Description

JupyterLab often shows the following warning in the dev tools console:

image

Reproduce

Using 4.2.0rc0 on Binder.

But this is also reproducible from the latest commit on main.

Expected behavior

There should likely be no warning in the dev tools.

Context

  • Operating System and version: Ubuntu 23.10
  • Browser and version: Latest Firefox and Chrome
  • JupyterLab version: 4.2.0rc0
@jtpio jtpio added bug status:Needs Triage Applied to new issues that need triage labels May 3, 2024
@jtpio jtpio changed the title Language pack 'en_US' not installed! Language pack 'en_US' not installed in the dev tools console May 3, 2024
@jtpio
Copy link
Member Author

jtpio commented May 3, 2024

This happens even if the Accept-Language header includes en-US:

image

This also seems to be the case with 3.6.3, so it's been there for quite a while:

image

@jtpio
Copy link
Member Author

jtpio commented May 3, 2024

The message originates from:

console.warn(message);

@jtpio
Copy link
Member Author

jtpio commented May 3, 2024

Looks like this logic was last modified in #13721

cc @fcollonval @krassowski

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants