This endpoint allows you to retrieve detailed information about a specific installed language by its unique identifier.
GET /api/languages/1/
When the language exists, you'll receive HTTP/1.1 200 OK
and JSON with the language details:
{ "lang_id": "1", "lang_code": "en", "name": "English", "status": "A", "country_code": "US", "direction": "ltr" }
When the language doesn't exist, you'll receive HTTP/1.1 404 Not Found
.
Field | Type | Description |
---|---|---|
lang_id | string | The unique identifier of the language |
lang_code | string | The ISO language code (e.g., "en" for English) |
name | string | The display name of the language |
status | string | The status of the language: "A" for active, "D" for disabled |
country_code | string | The ISO country code associated with the language (e.g., "US" for United States) |
direction | string | Text direction: "ltr" for left-to-right, "rtl" for right-to-left |