Metadata-Version: 2.1
Name: jupyterlab-translate
Version: 0.1.1
Summary: Jupyterlab Language Pack Translations Helper
Home-page: https://github.com/jupyterlab/jupyterlab-translate
Author: Project Jupyter Contributors
Author-email: jupyter@googlegroups.com
License: BSD-3-Clause
Description: # jupyterlab-translate
        
        ![Linux tests](https://github.com/jupyterlab/jupyterlab-translate/workflows/Run%20tests/badge.svg)
        [![license](https://img.shields.io/pypi/l/jupyterlab-translate.svg)](./LICENSE.txt)
        [![pypi version](https://img.shields.io/pypi/v/jupyterlab-translate.svg)](https://pypi.org/project/jupyterlab-translate/)
        [![conda version](https://img.shields.io/conda/vn/conda-forge/jupyterlab-translate.svg)](https://www.anaconda.org/conda-forge/jupyterlab-translate)
        [![Code Style: Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
        [![Join the chat at https://gitter.im/jupyterlab/jupyterlab](https://badges.gitter.im/jupyterlab/jupyterlab.svg)](https://gitter.im/jupyterlab/jupyterlab)
        
        This package is used to generate [language packs](https://github.com/jupyterlab/language-packs) for the JupyterLab ecosystem.
        
        This pacakge performs the following tasks common on JupyterLab core and external extensions:
        
        * Extract strings from code in `*.py`, `*.ts`, `*.tsx` files.
        * Extract strings from JSON schema files.
        * Create gettext `*.pot` catalogs.
        * Removes duplicate strings from catalogs.
        * Create gettext `*.po` catalogs for specific languages.
        * Compile catalogs to `*.mo` and `*.json` format to be consumed by the JupyterLab frontent.
        
        ## Installation
        
        ### Pip
        
        ```bash
        pip install jupyterlab-translate
        ```
        
        You will also need to install `nodejs` >= 14.
        
        ### Conda
        
        ```bash
        conda install jupyterlab-translate -c conda-forge
        ```
        
        ## Usage
        
        ### Bundle catalogs as part of a language pack
        
        This is the recommended way of distributing your localization catalogs.
        
        Visit the [language packs repository](https://github.com/jupyterlab/language-packs).
        
        ### Bundle catalogs with packages
        
        ```bash
        jupyterlab-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>
        ```
        
Keywords: localization,translation,jupyterlab,jupyter,i18n,i10n
Platform: Linux
Platform: Mac OS X
Platform: Windows
Description-Content-Type: text/markdown
