def load_locale(locale, icu=False):
if locale not in locales:<EOL><INDENT>raise NotImplementedError("<STR_LIT>" % locale)<EOL><DEDENT>if locale not in __locale_caches:<EOL><INDENT>mod = __import__(__name__, fromlist=[locale], level=<NUM_LIT:0>)<EOL>__locale_caches[locale] = getattr(mod, locale)<EOL><DEDENT>return __locale_caches[locale]<EOL>
Return data of locale
:param locale:
:return: