auto-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
create-opts
(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
make-translator
(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
tempura-missing-text
Necessary for tempura, a missing key is expected for all languages marked with :core-dict?
in automaton-core.i18n.language