Functions for translating form contents, such as labels.
Functions for translating form contents, such as labels.
(t type field)(t type field default)Returns a translation of the given type for the field.
(t :labels :email)
(t :placeholder :name "First Last")
Returns a translation of the given type for the field.
### Examples
(t :labels :email)
(t :placeholder :name "First Last")(with-form-translation-scope object & content)Sets up a binding for form element translations.
(with-form-translation-scope :profile
(t :labels :email))
Sets up a binding for form element translations.
### Example
(with-form-translation-scope :profile
(t :labels :email))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 |