This package is used to generate language packs for the JupyterLab ecosystem.
This package performs the following tasks common on JupyterLab core and external extensions:
*.py
, *.ts
, *.tsx
files.*.pot
catalogs.*.po
catalogs for specific languages.*.mo
and *.json
format to be consumed by the JupyterLab frontend.pip install jupyterlab-translate
You will also need to install nodejs
>= 14.
conda install jupyterlab-translate -c conda-forgeBundle catalogs as part of a language pack
This is the recommended way of distributing your localization catalogs.
Visit the language packs repository.
Bundle catalogs with packagesjupyterlab-translate extract <JLAB-EXTENSION-DIR> <JLAB-EXTENSION-NAME> jupyterlab-translate update <JLAB-EXTENSION-DIR> <JLAB-EXTENSION-NAME> -l es_ES jupyterlab-translate compile <JLAB-EXTENSION-DIR> <JLAB-EXTENSION-NAME>
To extract translatable strings from typescript files, this package relies on gettext-extract
. To ease its installation and usage, that tool is packaged within the python package by creating a monolithic JavaScript file using @vercel/ncc
compiler.
To update the monolithic file, have a look at the release file.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4