Skip to main content

This is a simple Client that integrates with the localization service www.i18nize.com

Project description

# i18nize
This is a simple Client that integrates with the localization service www.i18nize.com

```pip install i18nize```


### Config parameters
| Name | Type | Required | What? |
| ------------- |-------------|-------------|-------------|
| project_id | String | Yes | This should be the id of your project |
| live | Boolean | Yes | Set to *true* if you want to download your live locales otherwise your dev locales will get downloaded |

### Example config
```json
{
"project_id": "fee43d29-090e-432d-bb62-c1755bbf6a79",
"live": true
}
```

### Example usage
```python
from i18nize.client import Client

client = Client(config_path='/path/to/my/config/i18nize.json', destination_path='/path/to/my/dest')
client.get_all_locales()

**OUTPUT:**
*>> Downloaded en to dist/locales/en.json (live: True)*
*>> Downloaded sv to dist/locales/sv.json (live: True)*
```

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

i18nize-0.0.2.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file i18nize-0.0.2.tar.gz.

File metadata

  • Download URL: i18nize-0.0.2.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for i18nize-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a02fc77775124ebc3acc81cdd77de9037ce729caffdfb9998ecaebf9d5ac0a87
MD5 59678c50e3482ba3ba8530877519a952
BLAKE2b-256 b12e5741444d46c7c9f4e343f570da2820beb89b6f9e6ac4f3953a3019e9f06a

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