Skip to main content

Keep terms consistent

Goal: decide once how your key terms carry across languages (product names, UI actions, the words your domain depends on) and have kapi flag anything that drifts before it ships. The same terms store guides translation up front and validates it after. Concepts: Terminology; storage models: Memory & terms storage.

kapi keeps terms in a terms bundle (terms.json). To bring in a list your team already maintains elsewhere, import it across the boundary, a spreadsheet exported to CSV for example:

terms.csv
sourcetargetdomain
passwordmot de passesecurity
log inse connecterui
dashboardtableau de bordui
settingsparamètresui

Context → Terms is where that list lives:

  1. Bring in the list. Import the CSV from the CLI (kapi terms import, below) or land entries through kapi apply; both write the committed record the recipe binds with defaults.terms_source. The view lists terms by language pair and domain, ready to browse and search.
  2. Spot-check a term. Look up an entry to confirm the approved target before a full pass, and open its occurrences to see where the project uses it.
  3. Enforce it. With the terms store in the project, term findings surface in the Checks view, in the terminology gate of check --ship, and against each unit in the Review queue: the same drift, caught wherever you look.

Try it

The in-browser build pre-seeds a terms store from the list above: inspect it, look up terms, then pseudo-translate and run term-check to see enforcement against a real backend:

Loading the walkthrough…

Next