Is it possible to translate the search block? #81
-
Hello there. Thanks to all contributors for this theme. I wanna translate the search block into russian, but I don't know how to do that. I've tried sphinx-intl tool, but I can't find msgid for words needed to be translated. I've also read your docs for this theme and haven't found any possible option to set up localization. Could somebody help me, pls? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There's a PR which wraps all translatable terms in the I need to check out how other themes handle their translations. The Sphinx Book theme stores them as JSON:
And then runs a script to generate the Here are the main docs for handling translation, and it mentions sphinx-intl. I need to go through the docs and work out the workflow. So, not a great answer, but I plan on fixing it once I understand how Sphinx handles translations. |
Beta Was this translation helpful? Give feedback.
There's a PR which wraps all translatable terms in the
_
function:#60
I need to check out how other themes handle their translations.
The Sphinx Book theme stores them as JSON:
And then runs a script to generate the
locales/**/*.po
files.Here are the main docs for handling translation, and it mentions sphinx-intl.
I need to go through the docs and work out the workflow.
So, not a great answer, but I plan on fixing it once I understand how Sphinx handles translations.