For the localization work, to be able to extract/update/ and compile strings found in code, https://github.com/goanpeca/jupyterlab-translate/ was created as a small tool wrapping pybabel (py package) + gettext-extract (npm pkg) plus some extra tooling to create the JSON bundles that are sent to the Translator Extension in the frontend.
I still need to do some cleanup and write some docs, but currently, the package is "a dependency" for the translation/localization workflow. It could eventually become a dependency of JLab+extension to provide the extraction tools right from the JLab interface.
[ ] Need to add tests
[ ] Need to add docs. Part of Jupyterlab docs or as part of the README ?
For the localization work, to be able to extract/update/ and compile strings found in code, https://github.com/goanpeca/jupyterlab-translate/ was created as a small tool wrapping pybabel (py package) + gettext-extract (npm pkg) plus some extra tooling to create the JSON bundles that are sent to the Translator Extension in the frontend.
I still need to do some cleanup and write some docs, but currently, the package is "a dependency" for the translation/localization workflow. It could eventually become a dependency of JLab+extension to provide the extraction tools right from the JLab interface.