The table below describes all the language details fields available in the Venddor API. These fields are used when managing languages via the REST API.
Values
column in the table merely shows what kind of data you can expect in the fields.
Field | Values | Description |
---|---|---|
lang_id |
integer | The unique identifier of the installed language. |
lang_code |
string | The two-letter language code, for example, en . |
name |
string | The name of the language. |
status |
string |
The status of the language:A — activeH — hiddenD — disabled
|
country_code |
string | The ISO code of the country to which the language belongs. It determines the flag icon that will appear next to the language in the Administration panel and on the storefront. |
direction |
string |
The writing direction of the language:ltr — left-to-rightrtl — right-to-left
|
{ "lang_id": "2", "lang_code": "es", "name": "Spanish", "status": "A", "country_code": "ES", "direction": "ltr" }