mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
This is done by moving the sorting from the glossary directive to a transform operating after the i18n transform. Closes #9827
30 lines
378 B
Plaintext
30 lines
378 B
Plaintext
:tocdepth: 2
|
|
|
|
i18n with glossary terms
|
|
========================
|
|
|
|
.. glossary::
|
|
|
|
Some term
|
|
The corresponding glossary
|
|
|
|
Some other term
|
|
The corresponding glossary #2
|
|
|
|
link to :term:`Some term`.
|
|
|
|
Translated glossary should be sorted by translated terms:
|
|
|
|
.. glossary::
|
|
:sorted:
|
|
|
|
AAA
|
|
Define AAA
|
|
|
|
CCC
|
|
EEE
|
|
Define CCC
|
|
|
|
BBB
|
|
Define BBB
|