auto-core.i18n.language
All known languages in automaton-core
, subsequent namespaces are forced to use only known languages there. Language concept could be enriched with language definition or other data, for instance, the flag of a language, …
It is only a place for language description, not to tell where it is supposed to be used See cust-app themselves to know what language they use
core-languages
Languages available in automaton-core
, instance of Languages
dict-core-languages-ids
Known languages ids in automaton-core
’s
get-core-languages-id
Known language ids in automaton-core
Languages
protocol
members
dict-languages-ids
(dict-languages-ids this)
Set of known language ids keywords
language
(language this lang-id)
return the language Params: * lang-id
: language id
languages
(languages this)
return the list of known languages
languages-ids
(languages-ids this)
Set of known ids (set of keywords)
make-automaton-core-languages
(make-automaton-core-languages & selected-languages-seq)
Create a Languages
instance Params: * selected-languages
is a dictionary which can add data and restrict the use of some languages in subpart of the app The final map consists in the languages defined in both selected-languages
core-lang/base-languages
The language data map are merged, see merge-languages-map
for details
merge-languages-map
(merge-languages-map & selected-languages-seq)
Merge maps in the argument order, so all their data are merged and the ones on the left are lower priority
Each map is language definition Only languages existing in all dictionaries are kept, Params: * sequence of languages matching a language id to the language description