clj18n.reader documentation
EDN reader for dictionaries.
expand-dict
(expand-dict dict)
Expands the dictionary so that child locales contain the translations from
their parent locales, e.g. en_US would end up containing translations defined
under en.
load-dict
(load-dict f)(load-dict f formatters)
Loads a dictionary from an EDN file and expands it using expand-dict. Can be
passed an optional map of EDN tag readers for additional dictionary string
processing.
read-dict
(read-dict s)(read-dict s formatters)
Reads a dictionary from an EDN string. Can be passed an optional map of EDN
reader tags for additional dictionary string processing.