Pure translation functions for the i18n module.
FC/IS rule: PURE functions only — no I/O, no logging, no exceptions.
Translation key resolution order (locale chain):
Marker syntax: [:t :key] — simple lookup [:t :key {:param val}] — with interpolation params [:t :key {:n 3} 3] — plural form (count as 4th arg)
Pure translation functions for the i18n module.
FC/IS rule: PURE functions only — no I/O, no logging, no exceptions.
Translation key resolution order (locale chain):
1. User locale (e.g. :nl)
2. Tenant locale (e.g. :nl)
3. Default locale (:en)
4. Fallback: (str key) for graceful degradation
Marker syntax:
[:t :key] — simple lookup
[:t :key {:param val}] — with interpolation params
[:t :key {:n 3} 3] — plural form (count as 4th arg)cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |