Hi, On my local, captions of toctree title are extract to pot files. If not, please file a new issue to the list. It would be nice if you have minimal reproducible example. I'll take a look later.
About explicit titles, I just implement it in this week. It will be shipped as 2.3.0 soon. https://github.com/sphinx-doc/sphinx/pull/6784 Thanks, Takeshi KOMIYA 2019年11月21日(木) 0:08 Libor Jelínek <[email protected]>: > > Let me to follup up. I have the same question - how to localize toctree > :caption: and body. However, in my case even captions are not extracted into > POTs. > > Original thread is 2 years old. Maybe version existing at that time did it > correctly. Now i'm using latest 2.2.1 and :caption: are not extracted into > POTs. Can somebody to retest extracting :caption:? > > For the rest - extracting explicit titles and explicit link titles - was the > bug really filed? > > L. > > > Dne úterý 27. února 2018 2:30:00 UTC+1 Komiya Takeshi napsal(a): >> >> Hi, >> >> On my local, "Contents:" are extracted into .pot file. Certainly >> others are not. At present, they are not supported. >> Please file a issue. I will work it future. >> >> Thanks, >> Takeshi KOMIYA >> >> 2018-02-27 2:21 GMT+09:00 Joe Landers <[email protected]>: >> > Hi, I see what looks to be support for this in the code here, but I'm >> > unable >> > to get it to work. >> > >> > More concretely, if I have a .rst file like this: >> > .. toctree:: >> > :maxdepth: 2 >> > :caption: Contents: >> > >> > Explicit Title <some_doc> >> > External Link <https://google.com> >> > >> > I want "Contents:", "Explicit Title", and "External Link" to be extracted >> > into a .pot file, (and later to be replaced by the translated strings in a >> > .po file), but this isn't happening. >> > >> > It looks like there's code to do this, so maybe I'm doing something wrong. >> > >> > Thanks for the help! >> > -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 [email protected]. >> > To post to this group, send email to [email protected]. >> > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sphinx-users/cc40a367-8691-48b8-af78-ff262ed11543%40googlegroups.com. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/CAFmkQANG0fyS2RbQVvA0X%3DkBA6LbW%2B6oa%3D4TK2WAdXZDwyCK%2BA%40mail.gmail.com.
