Hello,
I have code examples in the documentation (defined as code-blocks,
both literally included and just typed inline). In these code examples
there are comments, but when I produce documentation translation, they
are not extracted into .po files, and obviously are not translated.
How can I translate these comments in code examples?
I asked this on stackoverflow, there is an example of a code block if
really needed (
https://stackoverflow.com/questions/61248191/how-to-translate-comments-in-code-blocks-using-sphinx).
Many thanks.
Best regards,
Yaroslav Nikitenko