jupyterlab/jupyterlab

View and render markdown content based on locale

Open

#12,375 建立於 2022年4月7日

在 GitHub 查看
 (5 留言) (1 反應) (0 負責人)TypeScript (13,454 star) (2,937 fork)batch import
enhancementfeaturehelp wanted

描述

Problem

Currently, it is hard to view/render markdown content based on the language/locale (English/French, en-US, fr-FR, ...).

Take, for example, if I want to create Jupyter notebooks in multiple languages (English, French, ...), currently I create two notebooks: one in English and one in French. Even though I use the same code for English and French, I use different markdown text for English and French. The problem with this approach is the management of multiple notebooks with redundant code. If I make modifications in one notebook, I need to copy the changes in the other.

Users who wish to share their Jupyter notebooks in multiple languages may encounter this issue.

Proposed Solution

One possible solution could be to let the users specify the language using something similar

# Explanation
{{{en-US}}}
Text in English
{{{en-US}}}

{{{fr-FR}}}
Le texte en français
{{{fr-FR}}}

Additional context

Associatated JupyterLab packages

Some similar issues:

貢獻者指南