Ordering is Multi-Language by default. We added a translations model to allow any text or string to be translated to any number of languages.
Action | Method | Resource | Description |
---|---|---|---|
Get all |
|
| Get all translations. |
Get |
|
| Get translation with id |
Create |
|
| Create a translation. |
Update |
|
| Update translation with |
Delete |
|
| Delete translation with |
The translations model is composed of the following attributes:
Attribute | Type | Required | Description | Whereable |
---|---|---|---|---|
key | string | required | The translation's key. | Yes |
text | string | required | The translation's value. | Yes |
Translations can be obtained by any user no matter what level they are.
Translation only can be created, updated or removed by users level 0 (Type: Administrator)