You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added: entry_points={“jupyterlab.locale”: [“sas_workbench = sas_workbench”]} in setup.py,
and in MANIFEST.in
recursive-include sas_workbench *.json
recursive-include sas_workbench *.mo
I added a de_DE translation in the local folder.
but for some reason when I load the translation domain from the ITranslator in the front end, the dictionary object for that domain is always empty.
would anyone be able to help pointing out what I miss?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all,
I’m trying to ship a translation language in a jupyter lab extension. I followed the instruction here: Internationalization and Localization — JupyterLab 4.2.0b1 documentation
and the example jupyterlab_server/tests/translations/jupyterlab-some-package at main · jupyterlab/jupyterlab_server · GitHub
I added: entry_points={“jupyterlab.locale”: [“sas_workbench = sas_workbench”]} in setup.py,
and in MANIFEST.in
recursive-include sas_workbench *.json
recursive-include sas_workbench *.mo
I added a de_DE translation in the local folder.
but for some reason when I load the translation domain from the ITranslator in the front end, the dictionary object for that domain is always empty.
would anyone be able to help pointing out what I miss?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions