Skip to main content

Command-line client for the crowdin.net API

Project description

A client for the Crowdin API which lets you push source translations to crowdin and pull translated content.

Installation

(sudo) pip install crowdin-client

If you don’t have pip:

(sudo) easy_install pip
(sudo) pip install crowdin-client

If you don’t even have easy_install on windows, get the .exe at http://pypi.python.org/pypi/setuptools, install it, add c:\Python2x\Scripts to the Windows path (replace Python2x with the correct directory).

Configuration

Create a .crodwin JSON file in your root project directory with the following structure:

{
    "project_name": "crowdin project name",
    "api_key": "project API key",
    "localizations": [
        {
            "source_path": "locale/en/LC_MESSAGES/django.po",
            "remote_path": "path/to/django.po",
            "target_langs": {
                "fr": "locale/en/LC_MESSAGES/django.po",
                "de": "locale/de/LC_MESSAGES/django.po",
                "it": "locale/it/LC_MESSAGES/django.po"
            }
        }
    ]
}

Usage

Push source files:

crowdin push

Pull translations:

crowdin pull

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crowdin-client-0.1.tar.gz (5.1 kB view details)

Uploaded Source

File details

Details for the file crowdin-client-0.1.tar.gz.

File metadata

File hashes

Hashes for crowdin-client-0.1.tar.gz
Algorithm Hash digest
SHA256 8e707e6e4c24ff81d44b25eb21fc7aefb9e66af11114130dd0832c02b8453ad4
MD5 c542127b390073fbaa2d7e0104cbec12
BLAKE2b-256 3d87a6e91125dda6c15051439f348e4073f340f7cd3b658b54b4fe7502a80f70

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page