sphinx.locale.l_ has been deprecated since Sphinx 1.8, and removed in Sphinx 3. Use sphinx.locale._ instead.