Hi Joe, I investigate your problem and found 2 kind of bugs. I reported the problem, and I'm going to fix it from now. Please refer: https://github.com/sphinx-doc/sphinx/issues/4938
Thanks. On Wed, Apr 18, 2018 at 6:37 AM Joe Landers <joelander...@gmail.com> wrote: > Hello list, I just reproduced my issue on top of the sample project that > `sphinx-quickstart` generates to be sure I'm not messing it up in another > way. > > I added the following lines to `index.rst`: > ``` > 1. A Header > ----------- > A paragraph. > ``` > > Then I did a `make gettext` to generate the `.pot` file. > > Then I did a `sphinx-intl update -l ru` to generate the `.po` file. > > Then I edited the Russian `index.po` file like this: > ``` > #: ../../index.rst:23 > msgid "1. A Header" > msgstr "1. a header in russian" > > #: ../../index.rst:24 > msgid "A paragraph." > msgstr "a paragraph in russian" > ``` > > Finally I did a `make -e SPHINXOPTS="-D language='ru'" html` to build the > HTML, which ends up looking like: > ``` > 1. A Header > a paragraph in russian > ``` > > That is, the paragraph text gets translated but the section header/title > does not. > (I just tried this with an un-numbered header, and that works correctly.) > Am I missing something? I think I'll try to learn how `rst`'s `sectnum` > works in the meantime. > > Thanks in advance! > -Joe > > -- > You received this message because you are subscribed to the Google Groups > "sphinx-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sphinx-users+unsubscr...@googlegroups.com. > To post to this group, send email to sphinx-users@googlegroups.com. > Visit this group at https://groups.google.com/group/sphinx-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-users+unsubscr...@googlegroups.com. To post to this group, send email to sphinx-users@googlegroups.com. Visit this group at https://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.