Cldr.Config.get_locale
You're seeing just the function
get_locale
, go back to Cldr.Config module for more information.
Specs
get_locale(Cldr.Locale.locale_name(), config_or_backend :: t() | Cldr.backend()) :: map() | no_return()
Read the locale json, decode it and make any necessary transformations.
This is the only place that we read the locale and we only read it once. All other uses of locale data are references to this data.
Additionally the intention is that this is read only at compile time and used to construct accessor functions in other modules so that during production run there is no file access or decoding.