dotCMS Language API

Language configuration and management

Operations 2

POST /api/v1/languages/i18n Get internationalized messages #
GET /api/v1/languages List all available languages #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/dotcms-language-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

dotcms-language-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: dotCMS REST Language API
  version: '3'
  description: Language configuration and management
servers:
- url: /
  description: dotCMS Server
tags:
- name: Language
  description: Language configuration and management
paths:
  /api/v1/languages/i18n:
    post:
      tags:
      - Language
      summary: Get internationalized messages
      description: Retrieves internationalized (i18n) message strings for the specified locale and message keys. The locale is determined from the request body's country and language fields. Returns a map of message keys to their translated string values.
      operationId: getI18nMessages
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/I18NForm'
      responses:
        '200':
          description: Messages returned successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseEntityMapStringStringView'
        '400':
          description: Invalid request form data
        '401':
          description: Authentication required
        '500':
          description: Internal server error
  /api/v1/languages:
    get:
      tags:
      - Language
      summary: List all available languages
      description: Returns all configured languages in the system, keyed by language code. Each entry contains the full language details including country, language code, and display name.
      operationId: listLanguages
      responses:
        '200':
          description: Languages returned successfully
          content:
            application/json:
              schema:
                type: object
                description: Map of language codes to language details (RestLanguage objects)
        '401':
          description: Authentication required
components:
  schemas:
    ResponseEntityMapStringStringView:
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/ErrorEntity'
        entity:
          type: object
          additionalProperties:
            type: string
        messages:
          type: array
          items:
            $ref: '#/components/schemas/MessageEntity'
        i18nMessagesMap:
          type: object
          additionalProperties:
            type: string
        permissions:
          type: array
          items:
            type: string
        pagination:
          $ref: '#/components/schemas/Pagination'
    ErrorEntity:
      type: object
      properties:
        errorCode:
          type: string
        message:
          type: string
        fieldName:
          type: string
    I18NForm:
      type: object
      properties:
        language:
          type: string
        country:
          type: string
        messagesKey:
          type: array
          items:
            type: string
    Pagination:
      type: object
      properties:
        currentPage:
          type: integer
          format: int32
        perPage:
          type: integer
          format: int32
        totalEntries:
          type: integer
          format: int64
    MessageEntity:
      type: object
      properties:
        message:
          type: string