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
(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 defaultedCreate 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
(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 appmain-langs
language defaulted by tempura if not found is a list to accept localesBuild 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
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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close