Hi, I built my personal website with Sphinx. For that, I created a custom theme which does not have any options, but uses the _() function to mark strings for translation. However, I am not sure how I would proceed to tell Sphinx about the translation.
- How do I extract a .pot file from my layout.html? - How do I tell Sphinx where I put the .mo file? - And how can I put the current language into the HTML? I want to declare the language within the HTML so that CSS hyphenation can work properly. I also made a custom directive, “git” which shows a git clone URL and some additional links. That directive is a Python function which renders with Jinja on its own and returns the HTML to the docutils. I did that this way, so that I did not have to look into the docutils too much and could just get done with it. How can I translate that? Regards, Martin -- 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/groups/opt_out.
