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. |
| DESTINATION_PATH | String | Yes | The path where you want your locale to get saved. |
| LIVE | Boolean | Yes | Set to *true* if you want to download your live locales otherwise your dev locales will get downloaded. |


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

i18nize_config = {
"PROJECT_ID": "86416ce4-fd52-4daf-9764-46f35b07af23",
"LIVE": False,
'DESTINATION_DIR': 'locales/',
}

client = Client(config=i18nize_config)
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.3.tar.gz (3.5 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for i18nize-0.0.3.tar.gz
Algorithm Hash digest
SHA256 599e01e1ec3682337d2301948e5427d5cb582554b6e317907619a09258a047ea
MD5 f12152ba805efcf499d9c5314487de65
BLAKE2b-256 762127782644e5aee9afe8e7316daa3c21baeea9e5651e615278c2cd06b3c0d3

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