Get Hedhog updates in your inbox
New releases, fresh recipes, and breaking changes — no spam.
Back to Core modulesWired in CoreModule
Core Submodule
locale
Maintains locale registry and locale payload used by applications.
Source path: libraries/core/src/locale
Module file: locale.module.ts
Introduction
This page documents the locale submodule as part of the Core package. Use it as a quick technical reference for implementation scope, exposed APIs and MCP integration points.
HTTP Endpoints
2 endpoints
List all registered locales.
- Query
- page, pageSize, search
Register a new locale.
Body
| Field | Type | Required | Notes |
|---|---|---|---|
| name | string | yes | — |
| code | string | yes | Max 2 chars (e.g. "en") |
| region | string | no | Max 2 chars (e.g. "US") |
| enabled | boolean | no | — |
MCP Tools
No MCP tools mapped for this submodule.