Get a Specific Language

GET /api/languages/{lang_id}/

This endpoint allows you to retrieve detailed information about a specific installed language by its unique identifier.

Request Example

GET /api/languages/1/

Response Format

Success Response
Error Response

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.

Response Fields

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
Tip: A language must be active to be available to users. You can check a language's status with this endpoint before attempting operations that depend on that language being available.