Glossary

The names that x18n uses in its code, docs and UI.

x18n uses one name for each idea, in code, docs and UI. The "Not" column lists names that x18n avoids for the same idea. Concepts explains the most important ones with examples.

TermMeaningNot
ProjectOne i18n setup with one root, one config and one set of locales. A monorepo can have many.workspace (that is the editor's word), app
HostThe object that gives a project file access, globbing, watching and caching.adapter, driver, fs
LocaleA locale code exactly as written in paths and files (en, zh_CN). Never normalized.language, lang (except in i18n-ally migration text)
Source localeThe locale that is the source of truth for checks and prompts.base, default language
Display localeThe locale shown in annotations and hovers. Per user.
ResourceA file, or a block inside a file, that holds messages for one locale and one namespace.locale file (fine in prose for users), dictionary
NamespaceA named group of keys, usually from a file name.scope (that is a code region)
KeyThe canonical id of a message: namespace plus path. String form ns:a.b.c.keypath, id
MessageThe value of one key in one locale.translation (fine for non-source locales in prose), string
UsageOne occurrence of a key in source code.reference, occurrence
Prefix usageA dynamic usage with a static prefix (t(pages.${id}.title)). It makes every key under the prefix "possibly" used.partial key
Callee setThe names that count as translate calls in a file: declared names, same-file aliases, wrappers, typed params.
Subtree renameRenaming a parent node, which renames every key under it.prefix rename (fine in UI labels)
ScopeA region of source code with a default namespace or key prefix.
Hard stringText in source code that should probably be a message.
PluginAn object that contributes capabilities through the plugin API.framework, extension
PresetA detected or listed group of plugins for one library.framework
CapabilityOne kind of contribution: manifest reader, locale finder, format, scanner, extractor, check, reporter, placeholder syntax, history provider, review store.
FormatReads and writes one file format.parser (only for the read half)
Locale finderFinds resources.loader
ScannerFinds usages in source files.detector
ExtractorFinds hard strings and builds replacements.
CheckProduces diagnostics from project state. x18n check runs all checks.rule (fine inside extraction scoring), lint
History providerReports when each message last changed, for stale translations. Git is the built-in one.blame, freshness source
Stale translationA target message that last changed before its source message did.outdated key (fine in UI labels)
ReporterTurns diagnostics and analysis into text output.formatter
DiagnosticOne reported issue with a code, severity and optional fixes.problem, error (unless severity is error)
PlanThe side-effect-free result of planning edits: file changes plus decisions.patch, diff
DecisionA question in a plan that a surface must answer before apply.prompt (that word is for LLM prompts)
In-place annotationEditor decoration that hides a key and shows its display-locale value.inline translation
SurfaceA user-facing layer on the core: CLI, LSP, extension, UI, MCP.client, frontend
Translate promptThe text that describes translation work for an agent or LLM.
Review threadComments and votes on one message.