-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add jupyterlab-language-pack-es-ES to Python image and set Spanish to be the default language #3
Comments
To set a specific language as the JupyterLab default, first the language pack package must be installed in the conda environment. The ES language pack is available on conda-forge as Then, we create an Here's what the content of {
"@jupyterlab/translation-extension:plugin": {
"locale": "es_ES"
}
} For more information:
@abkfenris do you have any input on this? We'll add the language pack package ourselves, right? While doing that, should we also address #2? As for placing the |
Hmm, exploring those a bit I think If it's in the other paths its going to be more complicated to tweak because each user gets (base) jovyan@jupyter-abkfenris:~$ jupyter lab path
[LabPathApp] WARNING | Config option `kernel_spec_manager_class` not recognized by `LabPathApp`.
Application directory: /opt/conda/share/jupyter/lab
User Settings directory: /home/jovyan/.jupyter/lab/user-settings
Workspaces directory: /home/jovyan/.jupyter/lab/workspaces Added comments on #2 about bumping other packages/underlying image. |
Thanks! Heh, it didn't occur to me to follow my own instructions and run I'm pretty sure it's not the "Workspaces directory", but I don't know if it'd be "User Settings directory". It looks like it really is "Application directory", I can communicate this to 2i2c. Worse case scenario, each user will have to switch the language via the interface, and I already have instruction in Spanish for doing that, with screenshots and all. |
Also add the Brazilian Portuguese language pack to the Python image, while we're at it! See 2i2c-org/default-hub-homepage#20 (review) |
I think I'm now pedaling back from changing the language default, and instead stick with the English default plus instructions for switching the language. We already have the instructions in Spanish for switching the language to Spanish. That'll be less work overall and less experimentation at this stage, plus less disruption to others outside this event. Plus, most participants in this Spanish event will already have seen, and possibly even applied, the instructions for switching language; and there may be some advantage in event participants being clearly aware that the English interface is readily accessible. |
With the hub now using the updated Python image, I've confirmed that the Spanish and Portuguese language packs are now accessible on JupyterLab, and switching to the Spanish language pack works as expected. |
jupyterlab-language-pack-es-ES
to the Python imageThe text was updated successfully, but these errors were encountered: