(txt path & args)Gets string from .EDN files in resource folder 'texts' by path key if path is a keyword or by nested path if path is a sequence and :language-code field of *current-user* dynamic variable. If there no such language key in map on path then config field :bot/default-language-code would be used. The resulting string is formatted using args and clojure.core/format function.
Gets string from .EDN files in resource folder 'texts' by `path` key if `path` is a keyword or by nested `path` if `path` is a sequence and `:language-code` field of `*current-user*` dynamic variable. If there no such language key in map on `path` then config field `:bot/default-language-code` would be used. The resulting string is formatted using `args` and `clojure.core/format` function.
(txti language-code path & args)Gets string from .EDN files in resource folder 'texts' by path key if path is a keyword or by nested path if path is a sequence and language-code. If there no such language key in map on path then config field :bot/default-language-code would be used. The resulting string is formatted using args and clojure.core/format function.
Gets string from .EDN files in resource folder 'texts' by `path` key if `path` is a keyword or by nested `path` if `path` is a sequence and `language-code`. If there no such language key in map on `path` then config field `:bot/default-language-code` would be used. The resulting string is formatted using `args` and `clojure.core/format` function.
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 |