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 config
```json
{
"project_id": "fee43d29-090e-432d-bb62-c1755bbf6a79",
"destination_path": "dist/locales",
"live": true
}
```
### Example usage
```python
from i18nize import Client
client = Client('/path/to/my/config/i18nize.json')
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 config
```json
{
"project_id": "fee43d29-090e-432d-bb62-c1755bbf6a79",
"destination_path": "dist/locales",
"live": true
}
```
### Example usage
```python
from i18nize import Client
client = Client('/path/to/my/config/i18nize.json')
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.1.tar.gz
(3.4 kB
view details)
File details
Details for the file i18nize-0.0.1.tar.gz
.
File metadata
- Download URL: i18nize-0.0.1.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 082ad71891a6d412e27f4a01c8bc9234dd14e2b17dc1ba0690435445e68f7676 |
|
MD5 | 7cdc0392613220f4dab31831f07a84b7 |
|
BLAKE2b-256 | 0b66ea2da034a58ef4c5c4bfddc0d74be5c5cb56386dbc37d52d3c4e667036ad |