I'm using Docutils via Sphinx.
I'm also using Sphinx's i18n feature.
Sphinx's i18n feature has a problem.
Summary: Sphinx doesn't use term in definition list as translation target message.
Sphinx extract translation target message from parsed doctree. Sphinx uses nodes that are instance of nodes.TextElement and have source information as translation target messages:
Docutils parses term as nodes.term (that is instace of nodes.TextElement) but it doesn't have source information.
Here is a sample .rst:
"description-paragraph" is used as translation target message but "term-word" isn't used.
Could you set source information to term node? I attach a patch to do it.
Log in to post a comment.