3 E\Z@sDdZdZddlZddlmZejd kr2ddlmZiZd dd Z dS) zL This package contains modules for language-dependent features of Docutils. ZreStructuredTextN)normalize_language_tag) __import__cCsxt|D]}|jdd}|tkr*t|Syt|ttdd}WnDtk ryt|ttdd}Wntk rw YnXYnX|t|<|SW|dk r|jd|dtd ttdd}|t|<|S) zReturn module with language localizations. `language_code` is a "BCP 47" language tag. If there is no matching module, warn and fall back to English. -_)levelrNzlanguage "%s" not supported: z+Docutils-generated text will be in English.en)rreplace _languagesrglobalslocals ImportErrorwarning)Z language_codeZreportertagmoduleru/private/var/folders/pf/wv4htv3x0qs2c2mp0dnn0kchsvlck3/T/pip-install-emcbgzcf/docutils/docutils/languages/__init__.py get_languages( r)rr)N) __doc__Z __docformat__sysZdocutils.utilsr version_infoZdocutils._compatrr rrrrr s