jupyter-resource-usage icon indicating copy to clipboard operation
jupyter-resource-usage copied to clipboard

Muilt language needed

Open mattholy opened this issue 2 years ago • 1 comments

Please support Chinese etc. I can provide help if needed

mattholy avatar Nov 23 '23 08:11 mattholy

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively. welcome You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:

welcome[bot] avatar Nov 23 '23 08:11 welcome[bot]

It looks like translation wrappers are already used in a few places e.g:

https://github.com/jupyter-server/jupyter-resource-usage/blob/a84a8ad1bd2a4fdfc82f971530c27499d4b387d7/packages/labextension/src/index.ts#L70-L83

https://github.com/jupyter-server/jupyter-resource-usage/blob/a84a8ad1bd2a4fdfc82f971530c27499d4b387d7/packages/labextension/src/panel.ts#L20

https://github.com/jupyter-server/jupyter-resource-usage/blob/a84a8ad1bd2a4fdfc82f971530c27499d4b387d7/packages/labextension/src/widget.tsx#L104-L114

And this extension is tracked in repository map:

https://github.com/jupyterlab/language-packs/blob/5e1501996158af86d2ce2feea44824ddb3fd6769/repository-map.yml#L13-L15

So internationalization should already work?

If there are any strings you see non-translated in the UI please open an issue pointing to relevant place in the code (or ideally a PR)!

krassowski avatar Sep 19 '25 13:09 krassowski