dotCMS Language API

Language configuration and management

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /api/v1/languages/i18n Get i18n messages for a locale (v1) · Get internationalized messages #
Ask an LLM
“Can I get translated UI strings for specific message keys in a given locale?”
“Which v1 languages call returns a map of message key to translation?”
Tell an agent
Get the messages {messagesKey} for language {language} and country {country}.
Translate message keys {messagesKey} into {language} with the v1 languages API.
GET /api/v1/languages List all configured languages (v1) · List all available languages #
Ask an LLM
“What languages are set up on my dotCMS instance, keyed by language code?”
“Can I get every language with its country and display name?”
Tell an agent
List every configured language keyed by code.
Show all languages with country and display name from the v1 API.

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: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:
    MessageEntity:
      type: object
      properties:
        message:
          type: string
    ErrorEntity:
      type: object
      properties:
        errorCode:
          type: string
        message:
          type: string
        fieldName:
          type: string
    Pagination:
      type: object
      properties:
        currentPage:
          type: integer
          format: int32
        perPage:
          type: integer
          format: int32
        totalEntries:
          type: integer
          format: int64
    I18NForm:
      type: object
      properties:
        language:
          type: string
        country:
          type: string
        messagesKey:
          type: array
          items:
            type: string
    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'