python-docs-ja icon indicating copy to clipboard operation
python-docs-ja copied to clipboard

label of deprecated-removed directive is not translatable

Open cocoatomo opened this issue 5 years ago • 1 comments

A label of deprecated-removed directive is translatable when I submitted this PR, but become not translatable now. Also, impl-detail directive is.

The related .po file: https://github.com/python/python-docs-ja/blob/3.8/sphinx.po#L44

cocoatomo avatar Mar 09 '20 01:03 cocoatomo

So far, custom extensions for python-doc have accessed internal data structure of sphinx.locale module directly. But, it does not work at present because the structure has changed since Sphinx-1.8 release.

I made a patch for using public translation APIs of Sphinx instead to get translated messages. Could you patch this to the extensions please? https://gist.github.com/e2de1962f073d389251ba13e285b4336

tk0miya avatar Mar 15 '20 15:03 tk0miya