B \Z@sDdZdZddlZddlmZejdkr2ddlmZiZd ddZ dS) zL This package contains modules for language-dependent features of Docutils. ZreStructuredTextN)normalize_language_tag)) __import__c Csxt|D]}|dd}|tkr*t|Syt|ttdd}WnDtk ryt|ttdd}Wntk rw YnXYnX|t|<|SW|dk r|d|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_codeZreportertagmoduler?/tmp/pip-build-uw_ogi45/docutils/docutils/languages/__init__.py get_languages( r)N) __doc__Z __docformat__sysZdocutils.utilsr version_infoZdocutils._compatrr rrrrr s