Liking cljdoc? Tell your friends :D

clj-simple-form.i18n

Functions for translating form contents, such as labels.

Functions for translating form contents, such as labels.
raw docstring

*translation-scope*clj


tclj

(t type field)
(t type field default)

Returns a translation of the given type for the field.

Examples

(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")
raw docstring

with-form-translation-scopecljmacro

(with-form-translation-scope object & content)

Sets up a binding for form element translations.

Example

(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))
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close