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
client = Client(
project_id='86416ce4-fd52-4daf-9764-46f35b07af23',
destination_dir='locales/',
live=False)
client.get_all_locales()
OUTPUT:
>> Downloaded en to dist/locales/en.json (live: True)
>> Downloaded sv to dist/locales/sv.json (live: True)
```
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
client = Client(
project_id='86416ce4-fd52-4daf-9764-46f35b07af23',
destination_dir='locales/',
live=False)
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.4.tar.gz
(3.4 kB
view details)
File details
Details for the file i18nize-0.0.4.tar.gz
.
File metadata
- Download URL: i18nize-0.0.4.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dc3e7a8d70c1638d05b8d3deb4503c8568fc305c928a96b335becaafbf88dfc |
|
MD5 | 2a81371b764bd459595fded46874d696 |
|
BLAKE2b-256 | 391c9e9b0aef0fed84b40f9a1504194864acf7774c892298e9141308773aab8a |