Integrant wiring for the i18n module.
Config key: :wagoe/i18n
Example (development): :wagoe/i18n {:catalogue-paths ["wagoe/i18n/translations" "my_app/i18n/translations"] :default-locale :en :dev? true}
Example (production): :wagoe/i18n {:catalogue-path "wagoe/i18n/translations" :default-locale :en}
Integrant wiring for the i18n module.
Config key: :wagoe/i18n
Example (development):
:wagoe/i18n {:catalogue-paths ["wagoe/i18n/translations"
"my_app/i18n/translations"]
:default-locale :en
:dev? true}
Example (production):
:wagoe/i18n {:catalogue-path "wagoe/i18n/translations"
:default-locale :en}(ig-config settings _ctx)This module's Integrant entries, for wagoe.platform.shell.system.config.
Assembled in every application whether or not its config names :wagoe/i18n:
the defaults below are a working English-only setup, and the HTTP handler
takes a ref to the middleware unconditionally.
The middleware is built here and injected rather than constructed by the
HTTP handler, so platform does not require wagoe.i18n.shell.middleware.
This module's Integrant entries, for `wagoe.platform.shell.system.config`. Assembled in every application whether or not its config names `:wagoe/i18n`: the defaults below are a working English-only setup, and the HTTP handler takes a ref to the middleware unconditionally. The middleware is built here and injected rather than constructed by the HTTP handler, so platform does not require `wagoe.i18n.shell.middleware`.
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 |