Defines JSDoc type definitions that mirror the server’s UI i18n contracts, describing language profiles and translation entries for use in front‑end code and documentation.
// Source: https://github.com/razzant/ouroboros | License: MIT | Copyright 2026 Anton Razzhigaev
// Provided via justclaw.it.com; keep this notice with the code.
/** Dependency-free JSDoc mirror of `ouroboros.gateway.ui_i18n_contracts` — the `/api/ui/i18n*` envelopes
* `api_types.js` indexes; the memory file they describe is ouroboros/i18n_memory.py schema 1. */
/**
* A language's profile inside its translation memory (ouroboros/i18n_memory.py).
* @typedef {Object} UiI18nProfile
* @property {string} label // display name the owner typed or the generator chose
* @property {string} instruction // free-text brief for the generator (an invented language's description)
* @property {'ltr'|'rtl'} direction
* @property {string=} lexicon // generator-written vocabulary/rules for rare or
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key