Main i18n namespace providing translation protocols and core functionality. Based on toddler.i18n but adapted for standalone use.
Main i18n namespace providing translation protocols and core functionality. Based on toddler.i18n but adapted for standalone use.
Dynamic var holding the current locale. Defaults to browser locale if available, otherwise :en.
Dynamic var holding the current locale. Defaults to browser locale if available, otherwise :en.
Protocol for locale-specific information
Protocol for locale-specific information
(locale this key)Returns locale definition for given key
Returns locale definition for given key
(t item)(t item locale)(t item locale options)Translate helper function. Shorthand for translate.
Translate helper function. Shorthand for translate.
Protocol for translating various types of data
Protocol for translating various types of data
(translate this)(translate this locale)(translate this locale options)Translates input data using locale and optional parameters
Translates input data using locale and optional parameters
(with-locale locale & body)Execute body with given locale bound
Execute body with given locale bound
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 |