-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cross references are not translated #125
Comments
I have the same setting but with "language: es" expecting to get the spanish but they are in english (both titles and references). Is this feature only available in german? |
Probably you are using the pip installed package of
sphinx:
extra_extensions:
- sphinx_proof
config:
language: es It would be great if you could create a pull request for your contribution of Spanish translations. :) |
Thank you for the detailed explanation, that way not only will be able to have spanish translations but I also learn XD I'll try to do it this evening |
When I run the |
For someone in the future, in debian the utility |
I think I did it correctly. It's in pull request #127 |
Great work! I hope our pull requests will be merged soon into |
I've just realised that my changes only affect the titles of the directives, but not the cross references. But if I understood it correctly, once my code and your code get merged the spanish cross references will also work. Am I right? |
Yes, my changes should work for any translation. You can test it by merging my commit into your code. |
Done in commit d1c7e9c and working nicely in my book ( it also passes the tox tests) Danke schöne! |
I think this is fixed in this open pull request. |
I see, thank you very much |
Describe the bug
context
When I compile my markdown files to HTML using sphinx_proof with language settings to German, the titles of most of the proof boxes are translated correctly (some are missing) but the cross references to these boxes stay in English language.
expectation
I expect that the titles in cross references are also translated according to the language settings.
problem
This gives inconsistent results in books that are not written in English language.
Reproduce the bug
_config.yml
:Compile book to HTML with
jupyter-book build .
Observe build result in folder
_build/html/
List your environment
The text was updated successfully, but these errors were encountered: