Skip to content

Is it possible to translate the search block? #81

Answered by dantownsend
kutepoff45 asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kutepoff45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants