Le 18/11/2019 à 21:22, tzoumakersx a écrit :
cause according to this
https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language
i think greek are not supported
Indeed Greek ('el') is not listed at
https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language
Nevertheless the translation of Sphinx project exists
About 25% of strings are translated only
Volunteers welcome !
http://www.transifex.com/sphinx-doc/sphinx-1/language/el/
LaTeX translations of some layout elements come
from polyglossia package on the fly on PDF compilation
and are not under control of the Sphinx project itself.
(for example the title used for the table of contents
of the PDF)
(and some fancychap styles may
be only for English)
but others like the headings for figures
or tables or literal blocks are part of the translatable
strings of Sphinx. For example I see that Sphinx Greek uses
Σχήμα, Πίνακας, Λίστα
respectively
It also has a string
συνεχίζεται από την προηγούμενη σελίδα
but the "continues on next page" is still in English
You can add to preamble
\renewcommand{\literalblockcontinuesname}{continues on next page}
with suitable Greek translation
(this is for code-blocks with a pagebreak)
Check in LaTeX build repertory the file sphinxmessages.sty
to see what needs to be translated to Greek currently in one's
own latex_elements.'preamble' key
(or you can copy sphinxmessages.sty to source repertory,
customize it, and add it to latex_additional_files list in conf.py)
Jean-François
--
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/qr0cce%2485n1%241%40blaine.gmane.org.