Liking cljdoc? Tell your friends :D

automaton-core.i18n.translator.tempura

Implementation of automaton-core.i18n.translator/Translator protocol with tempura

Is an adapter for translation in automaton-core, so no web related technology is mentionned there, even if tempura provides them. It will be the job of automton-web to provide that features

Implementation of `automaton-core.i18n.translator/Translator` protocol with [tempura](https://github.com/taoensso/tempura)

Is an adapter for translation in `automaton-core`, so no web related technology is mentionned there, even if tempura provides them.
It will be the job of `automton-web` to provide that features
raw docstring

create-optsclj/s

(create-opts & dicts)

Create the options for tempura/tr Params:

  • dicts list of dictionaries to append together, the default keys for missing keys and the core dictionary are defaulted
Create the options for tempura/tr
Params:
* `dicts` list of dictionaries to append together, the default keys for missing keys and the core dictionary are defaulted
raw docstring

make-translatorclj/s

(make-translator main-langs & dicts)

Build a TempuraTranslator Params:

  • dicts ordered list of dictionaries, the last is lower priority. A least priority dictionary is added with missing keys for tempura in it. You can overide in your own app
  • main-langs language defaulted by tempura if not found is a list to accept locales
Build a TempuraTranslator
Params:
* `dicts` ordered list of dictionaries, the last is lower priority. A least priority dictionary is added with missing keys for tempura in it. You can overide in your own app
* `main-langs` language defaulted by tempura if not found is a list to accept locales
raw docstring

tempura-missing-textclj/s

Necessary for tempura, a missing key is expected for all languages marked with :core-dict? in automaton-core.i18n.language

Necessary for tempura,  a missing key is expected for all languages marked with `:core-dict?` in `automaton-core.i18n.language`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close