cdmikechen created SUBMARINE-1127:
-------------------------------------
Summary: Jupyter Notebook can add a env to support initing some
config
Key: SUBMARINE-1127
URL: https://issues.apache.org/jira/browse/SUBMARINE-1127
Project: Apache Submarine
Issue Type: Bug
Components: Workbench Notebook
Reporter: cdmikechen
Jupyter Notebook have created a workspace volume */home/jovyan/workspace*, but
in some cases, we may need to do some initialization configuration when
starting notebook. For example, we can configure an *overrides.json* in
*/opt/conda/share/jupyter/lab/settings/*.
We can refer to the official document of jupyter about *overrides.json*.
https://jupyterlab.readthedocs.io/en/stable/user/directories.html#overrides-json
Assuming that the user of submarine needs to specify the language of the
initialized notebook to Chinese, we can write this in *overrides.json*.
{code:json}
{
"@jupyterlab/translation-extension:plugin": {
"locale": "zh_CN"
}
}
{code}
After this configuration, the new logging will be displayed in Chinese by
default.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]